0

Update config name for WebRTC delay-agnostic echo cancellation

This change switches from the old config name ReportedDelay to the new
name DelayAgnostic. The old name is deprecated in WebRTC and will be
removed.

Note: the logic is inversed with the name change. That is,
ReportedDelay==false corresponds to DelayAgnostic==true.

BUG=webrtc:4651

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

Cr-Commit-Position: refs/heads/master@{#337286}
This commit is contained in:
hlundin
2015-07-02 21:58:42 -07:00
committed by Commit bot
parent 10b5e2db69
commit c5d38a2a23

@ -481,7 +481,7 @@ void MediaStreamAudioProcessor::InitializeAudioProcessingModule(
if (goog_experimental_ns)
config.Set<webrtc::ExperimentalNs>(new webrtc::ExperimentalNs(true));
if (IsDelayAgnosticAecEnabled())
config.Set<webrtc::ReportedDelay>(new webrtc::ReportedDelay(false));
config.Set<webrtc::DelayAgnostic>(new webrtc::DelayAgnostic(true));
if (goog_beamforming) {
ConfigureBeamforming(&config, audio_constraints.GetPropertyAsString(
MediaAudioConstraints::kGoogArrayGeometry));