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); |
} |