summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorbemasc@chromium.org <bemasc@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-08-21 19:57:53 +0000
committerbemasc@chromium.org <bemasc@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-08-21 19:57:53 +0000
commitf5cb9e60b9fee7d572f2af0128ecccb5eda31b6b (patch)
tree538096e4eeaaafb882689ead9001471e79de9900
parent2e2eb467d4421375f3b319c050b23539a6f91875 (diff)
downloadchromium_src-f5cb9e60b9fee7d572f2af0128ecccb5eda31b6b.zip
chromium_src-f5cb9e60b9fee7d572f2af0128ecccb5eda31b6b.tar.gz
chromium_src-f5cb9e60b9fee7d572f2af0128ecccb5eda31b6b.tar.bz2
Correct comment and variable name for changes from Issue 16879009.
BUG= Review URL: https://chromiumcodereview.appspot.com/17468012 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@218810 0039d316-1c4b-4281-b951-d872f2087c98
-rw-r--r--content/renderer/media/media_stream_dependency_factory.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/content/renderer/media/media_stream_dependency_factory.cc b/content/renderer/media/media_stream_dependency_factory.cc
index b5adf1e..b60daf4 100644
--- a/content/renderer/media/media_stream_dependency_factory.cc
+++ b/content/renderer/media/media_stream_dependency_factory.cc
@@ -617,13 +617,13 @@ MediaStreamDependencyFactory::CreateWebAudioSource(
new content::MediaStreamSourceExtraData(webaudio_capturer_source.get());
// Create a LocalAudioSource object which holds audio options.
- // Use audio constraints where all values are false, i.e., disable
+ // Use audio constraints where all values are true, i.e., enable
// echo cancellation, automatic gain control, noise suppression and
// high-pass filter. SetLocalAudioSource() affects core audio parts in
// third_party/Libjingle.
- WebAudioConstraints webaudio_audio_constraints_all_false;
+ WebAudioConstraints webaudio_audio_constraints_all_true;
source_data->SetLocalAudioSource(
- CreateLocalAudioSource(&webaudio_audio_constraints_all_false).get());
+ CreateLocalAudioSource(&webaudio_audio_constraints_all_true).get());
source->setExtraData(source_data);
// Replace the default source with WebAudio as source instead.