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

Unified Diff: webrtc/media/engine/webrtcvoiceengine.cc

Issue 2260173002: Disable the software noise suppressor on iOS devices (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webrtc/media/engine/webrtcvoiceengine.cc
diff --git a/webrtc/media/engine/webrtcvoiceengine.cc b/webrtc/media/engine/webrtcvoiceengine.cc
index eb8399494c54eaa9c9f211fe70bf971efeb5a486..c7fd7689139908c1b5929af60a9213b969297ed2 100644
--- a/webrtc/media/engine/webrtcvoiceengine.cc
+++ b/webrtc/media/engine/webrtcvoiceengine.cc
@@ -615,10 +615,12 @@ bool WebRtcVoiceEngine::ApplyOptions(const AudioOptions& options_in) {
}
#if defined(WEBRTC_IOS)
- // On iOS, VPIO provides built-in EC and AGC.
+ // On iOS, VPIO provides built-in EC, NS and AGC.
options.echo_cancellation = rtc::Optional<bool>(false);
options.auto_gain_control = rtc::Optional<bool>(false);
- LOG(LS_INFO) << "Always disable AEC and AGC on iOS. Use built-in instead.";
+ options.noise_suppression = rtc::Optional<bool>(false);
+ LOG(LS_INFO)
+ << "Always disable AEC, NS and AGC on iOS. Use built-in instead.";
#elif defined(ANDROID)
ec_mode = webrtc::kEcAecm;
#endif
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698