From 0dfd3721ef54834640dae364bd6587af407fc294 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Per=20=C3=85hgren?= Date: Sun, 6 May 2018 18:16:01 +0200 Subject: [PATCH] Avoid enforcing that the stream delay is reported for AEC3 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Bug: webrtc:9243 Change-Id: I0703a77d049d20f8dbc547d149f102f7fbb3e017 Reviewed-on: https://webrtc-review.googlesource.com/74701 Commit-Queue: Per Ã…hgren Reviewed-by: Gustaf Ullberg Cr-Commit-Position: refs/heads/master@{#23147} --- modules/audio_processing/audio_processing_impl.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/audio_processing/audio_processing_impl.cc b/modules/audio_processing/audio_processing_impl.cc index 8d1cceeb02..28c796497d 100644 --- a/modules/audio_processing/audio_processing_impl.cc +++ b/modules/audio_processing/audio_processing_impl.cc @@ -1264,7 +1264,7 @@ int AudioProcessingImpl::ProcessCaptureStreamLocked() { // Ensure that the stream delay was set before the call to the // AEC ProcessCaptureAudio function. if (public_submodules_->echo_cancellation->is_enabled() && - !was_stream_delay_set()) { + !private_submodules_->echo_controller && !was_stream_delay_set()) { return AudioProcessing::kStreamParameterNotSetError; }