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

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

Issue 2214003002: GYP->GN of audio_device_tests. Remove dead code. Fix new warnings. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Exclude tests for ios. 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
Index: webrtc/modules/audio_device/audio_device_generic.cc
diff --git a/webrtc/modules/audio_device/audio_device_generic.cc b/webrtc/modules/audio_device/audio_device_generic.cc
index 501faba7cf79ab63a8e65dde538f89f4175933d5..f0511e9fe3f38232666bfa2923347023c3c53607 100644
--- a/webrtc/modules/audio_device/audio_device_generic.cc
+++ b/webrtc/modules/audio_device/audio_device_generic.cc
@@ -57,11 +57,6 @@ int32_t AudioDeviceGeneric::EnableBuiltInAEC(bool enable) {
return -1;
}
-bool AudioDeviceGeneric::BuiltInAECIsEnabled() const {
- LOG_F(LS_ERROR) << "Not supported on this platform";
- return false;
-}
-
bool AudioDeviceGeneric::BuiltInAGCIsAvailable() const {
LOG_F(LS_ERROR) << "Not supported on this platform";
return false;
@@ -82,15 +77,18 @@ int32_t AudioDeviceGeneric::EnableBuiltInNS(bool enable) {
return -1;
}
+#if defined(WEBRTC_IOS)
int AudioDeviceGeneric::GetPlayoutAudioParameters(
AudioParameters* params) const {
LOG_F(LS_ERROR) << "Not supported on this platform";
return -1;
}
+
int AudioDeviceGeneric::GetRecordAudioParameters(
AudioParameters* params) const {
LOG_F(LS_ERROR) << "Not supported on this platform";
return -1;
}
+#endif // WEBRTC_IOS
} // namespace webrtc

Powered by Google App Engine
This is Rietveld 408576698