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

Unified Diff: media/audio/android/audio_record_input.cc

Issue 115413002: Enable platform echo cancellation through the AudioRecord path. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: . Created 7 years 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 | « media/audio/android/audio_record_input.h ('k') | media/audio/audio_parameters.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/audio/android/audio_record_input.cc
diff --git a/media/audio/android/audio_record_input.cc b/media/audio/android/audio_record_input.cc
index 51c436f53c7313a0db13f74604e2c7128b7df487..15a0c3d3b7b951d0776e96f5e7adc475ff302c8d 100644
--- a/media/audio/android/audio_record_input.cc
+++ b/media/audio/android/audio_record_input.cc
@@ -24,7 +24,8 @@ AudioRecordInputStream::AudioRecordInputStream(
params.sample_rate(),
params.channels(),
params.bits_per_sample(),
- params.GetBytesPerBuffer()));
+ params.GetBytesPerBuffer(),
+ params.effects() & AudioParameters::ECHO_CANCELLER));
}
AudioRecordInputStream::~AudioRecordInputStream() {
« no previous file with comments | « media/audio/android/audio_record_input.h ('k') | media/audio/audio_parameters.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698