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

Unified Diff: media/audio/audio_parameters.cc

Issue 99033003: Enable platform echo cancellation through the AudioRecord path. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Add PlatformEffects, unittests and clean up. 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
Index: media/audio/audio_parameters.cc
diff --git a/media/audio/audio_parameters.cc b/media/audio/audio_parameters.cc
index b7ea4870c23c2bf5f6b51c2bfbfaa5279c566ef1..0b5c1578f9b4414db6449a59164961a40bfe04a6 100644
--- a/media/audio/audio_parameters.cc
+++ b/media/audio/audio_parameters.cc
@@ -100,4 +100,9 @@ void AudioParameters::SetDiscreteChannels(int channels) {
channels_ = channels;
}
+
+void AudioParameters::SetPlatformEffects(const PlatformEffects& effects) {
+ effects_ = effects;
+}
+
} // namespace media

Powered by Google App Engine
This is Rietveld 408576698