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

Unified Diff: webrtc/modules/audio_device/audio_device_impl.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_impl.cc
diff --git a/webrtc/modules/audio_device/audio_device_impl.cc b/webrtc/modules/audio_device/audio_device_impl.cc
index bfcbb00e48a492bdcffa20b9870411ba3d04ad56..7b9afeafce408bfd0011dffdb36c462b6760e3b8 100644
--- a/webrtc/modules/audio_device/audio_device_impl.cc
+++ b/webrtc/modules/audio_device/audio_device_impl.cc
@@ -1780,14 +1780,6 @@ int32_t AudioDeviceModuleImpl::GetLoudspeakerStatus(bool* enabled) const {
return ok;
}
-bool AudioDeviceModuleImpl::BuiltInAECIsEnabled() const {
- LOG(INFO) << __FUNCTION__;
- CHECK_INITIALIZED_BOOL();
- bool isEnabled = _ptrAudioDevice->BuiltInAECIsEnabled();
- LOG(INFO) << "output: " << isEnabled;
- return isEnabled;
-}
-
bool AudioDeviceModuleImpl::BuiltInAECIsAvailable() const {
LOG(INFO) << __FUNCTION__;
CHECK_INITIALIZED_BOOL();
@@ -1836,6 +1828,7 @@ int32_t AudioDeviceModuleImpl::EnableBuiltInNS(bool enable) {
return ok;
}
+#if defined(WEBRTC_IOS)
int AudioDeviceModuleImpl::GetPlayoutAudioParameters(
AudioParameters* params) const {
LOG(INFO) << __FUNCTION__;
@@ -1851,6 +1844,7 @@ int AudioDeviceModuleImpl::GetRecordAudioParameters(
LOG(INFO) << "output: " << r;
return r;
}
+#endif // WEBRTC_IOS
// ============================================================================
// Private Methods

Powered by Google App Engine
This is Rietveld 408576698