Commit 81ff89e9 authored by xians@chromium.org's avatar xians@chromium.org

Minor fixes to the capturer and the processor

NOTRY=true

BUG=264611

Review URL: https://codereview.chromium.org/177113012

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@255346 0039d316-1c4b-4281-b951-d872f2087c98
parent 8cb834e5
......@@ -279,7 +279,7 @@ void MediaStreamAudioProcessor::InitializeAudioProcessingModule(
// Return immediately if no audio processing component is enabled.
if (!enable_aec && !enable_experimental_aec && !enable_ns &&
!enable_high_pass_filter && !enable_typing_detection && !enable_agc &&
!audio_mirroring_ && !enable_experimental_ns) {
!enable_experimental_ns) {
return;
}
......
......@@ -466,7 +466,7 @@ void WebRtcAudioCapturer::Capture(media::AudioBus* audio_source,
// Notify the tracks on when the format changes. This will do nothing if
// |tracks_to_notify_format| is empty.
media::AudioParameters output_params = audio_processor_->OutputFormat();
media::AudioParameters output_params = audio_processor->OutputFormat();
for (TrackList::ItemList::const_iterator it = tracks_to_notify_format.begin();
it != tracks_to_notify_format.end(); ++it) {
(*it)->OnSetFormat(output_params);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment