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

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

Issue 2222563002: Fix warnings, simplify ADM. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Fix IOS compile. Created 4 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
« no previous file with comments | « webrtc/api/test/fakeaudiocapturemodule.h ('k') | webrtc/modules/audio_device/audio_device_generic.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webrtc/modules/audio_device/audio_device_generic.h
diff --git a/webrtc/modules/audio_device/audio_device_generic.h b/webrtc/modules/audio_device/audio_device_generic.h
index 326d933bcc3301e60ce19867e7136d0ce9353c4c..4807c63ab10172c2a69f1b2bca0a06021a395bbd 100644
--- a/webrtc/modules/audio_device/audio_device_generic.h
+++ b/webrtc/modules/audio_device/audio_device_generic.h
@@ -164,13 +164,12 @@ class AudioDeviceGeneric {
virtual int32_t EnableBuiltInAGC(bool enable);
virtual int32_t EnableBuiltInNS(bool enable);
- // Windows Core Audio only.
- virtual bool BuiltInAECIsEnabled() const;
-
// iOS only.
// TODO(henrika): add Android support.
+#if defined(WEBRTC_IOS)
virtual int GetPlayoutAudioParameters(AudioParameters* params) const;
virtual int GetRecordAudioParameters(AudioParameters* params) const;
+#endif // WEBRTC_IOS
virtual bool PlayoutWarning() const = 0;
virtual bool PlayoutError() const = 0;
« no previous file with comments | « webrtc/api/test/fakeaudiocapturemodule.h ('k') | webrtc/modules/audio_device/audio_device_generic.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698