Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(435)

Unified Diff: webrtc/modules/audio_device/include/audio_device.h

Issue 3006793002: Removes unused WaveOut APIs from ADM (Closed)
Patch Set: Created 3 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: webrtc/modules/audio_device/include/audio_device.h
diff --git a/webrtc/modules/audio_device/include/audio_device.h b/webrtc/modules/audio_device/include/audio_device.h
index 8fdd21246ea428f4812a9fdbf6c66853cd132d37..a1276d939203fd238a5c39bf70ffe1e2b4eb6c0b 100644
--- a/webrtc/modules/audio_device/include/audio_device.h
+++ b/webrtc/modules/audio_device/include/audio_device.h
@@ -108,11 +108,12 @@ class AudioDeviceModule : public RefCountedModule {
virtual int32_t SetAGC(bool enable) = 0;
virtual bool AGC() const = 0;
- // Volume control based on the Windows Wave API (Windows only)
+ // Deprecated.
+ // TODO(henrika): to be removed.
virtual int32_t SetWaveOutVolume(uint16_t volumeLeft,
The Sun (google.com) 2017/08/29 12:56:43 Is it possible to remove them directly? I can only
- uint16_t volumeRight) = 0;
+ uint16_t volumeRight) { return -1; }
virtual int32_t WaveOutVolume(uint16_t* volumeLeft,
- uint16_t* volumeRight) const = 0;
+ uint16_t* volumeRight) const { return -1; }
// Audio mixer initialization
virtual int32_t InitSpeaker() = 0;
« no previous file with comments | « webrtc/modules/audio_device/dummy/file_audio_device.cc ('k') | webrtc/modules/audio_device/include/fake_audio_device.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698