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

Unified Diff: content/renderer/media/media_stream_audio_processor_options.cc

Issue 1148843004: Reduce NS aggressiveness when beamforming. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Remove samus. Created 5 years, 7 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 | « content/renderer/media/media_stream_audio_processor_options.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/renderer/media/media_stream_audio_processor_options.cc
diff --git a/content/renderer/media/media_stream_audio_processor_options.cc b/content/renderer/media/media_stream_audio_processor_options.cc
index 8029b25dc81b06e900763c5affc96db0ffe01fc0..e0096d623571984eeb0cdb564d127af5e716e4dc 100644
--- a/content/renderer/media/media_stream_audio_processor_options.cc
+++ b/content/renderer/media/media_stream_audio_processor_options.cc
@@ -291,9 +291,9 @@ void EnableEchoCancellation(AudioProcessing* audio_processing) {
CHECK_EQ(err, 0);
}
-void EnableNoiseSuppression(AudioProcessing* audio_processing) {
- int err = audio_processing->noise_suppression()->set_level(
- webrtc::NoiseSuppression::kHigh);
+void EnableNoiseSuppression(AudioProcessing* audio_processing,
+ webrtc::NoiseSuppression::Level ns_level) {
+ int err = audio_processing->noise_suppression()->set_level(ns_level);
err |= audio_processing->noise_suppression()->Enable(true);
CHECK_EQ(err, 0);
}
« no previous file with comments | « content/renderer/media/media_stream_audio_processor_options.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698