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

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

Issue 227743004: Added a kEchoCancellation constraint to turn off the audio processing. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Created 6 years, 8 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: content/renderer/media/webrtc_audio_capturer.cc
diff --git a/content/renderer/media/webrtc_audio_capturer.cc b/content/renderer/media/webrtc_audio_capturer.cc
index 7363b3e7d13fe436bebf1882e357d1f36026e9e4..9f3703e99cfb6a1cc9fedd7bb1f4ce59b425694e 100644
--- a/content/renderer/media/webrtc_audio_capturer.cc
+++ b/content/renderer/media/webrtc_audio_capturer.cc
@@ -310,7 +310,8 @@ void WebRtcAudioCapturer::SetCapturerSource(
audio_processor_->OnCaptureFormatChanged(params);
need_audio_processing_ = NeedsAudioProcessing(
- constraints_, device_info_.device.input.effects);
+ constraints_, device_info_.device.input.effects,
+ device_info_.device.type);
// Notify all tracks about the new format.
tracks_.TagAll();
}

Powered by Google App Engine
This is Rietveld 408576698