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:
@ -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));
|
||||
|
Reference in New Issue
Block a user