Index: talk/media/webrtc/webrtcvoiceengine.cc |
diff --git a/talk/media/webrtc/webrtcvoiceengine.cc b/talk/media/webrtc/webrtcvoiceengine.cc |
index 84a26c51b8558e02bfb6d25bda85494bc15eee0d..284afed4d119e8b11dce8aa8d0cd0153d5d4e0e2 100644 |
--- a/talk/media/webrtc/webrtcvoiceengine.cc |
+++ b/talk/media/webrtc/webrtcvoiceengine.cc |
@@ -844,8 +844,8 @@ bool WebRtcVoiceEngine::ApplyOptions(const AudioOptions& options_in) { |
bool delay_agnostic_aec; |
if (delay_agnostic_aec_.Get(&delay_agnostic_aec)) { |
LOG(LS_INFO) << "Delay agnostic aec is enabled? " << delay_agnostic_aec; |
- config.Set<webrtc::ReportedDelay>( |
- new webrtc::ReportedDelay(!delay_agnostic_aec)); |
+ config.Set<webrtc::DelayAgnostic>( |
+ new webrtc::DelayAgnostic(delay_agnostic_aec)); |
} |
extended_filter_aec_.SetFrom(options.extended_filter_aec); |