Avoid enforcing that the stream delay is reported for AEC3
Bug: webrtc:9243 Change-Id: I0703a77d049d20f8dbc547d149f102f7fbb3e017 Reviewed-on: https://webrtc-review.googlesource.com/74701 Commit-Queue: Per Åhgren <peah@webrtc.org> Reviewed-by: Gustaf Ullberg <gustaf@webrtc.org> Cr-Commit-Position: refs/heads/master@{#23147}
This commit is contained in:
@ -1264,7 +1264,7 @@ int AudioProcessingImpl::ProcessCaptureStreamLocked() {
|
|||||||
// Ensure that the stream delay was set before the call to the
|
// Ensure that the stream delay was set before the call to the
|
||||||
// AEC ProcessCaptureAudio function.
|
// AEC ProcessCaptureAudio function.
|
||||||
if (public_submodules_->echo_cancellation->is_enabled() &&
|
if (public_submodules_->echo_cancellation->is_enabled() &&
|
||||||
!was_stream_delay_set()) {
|
!private_submodules_->echo_controller && !was_stream_delay_set()) {
|
||||||
return AudioProcessing::kStreamParameterNotSetError;
|
return AudioProcessing::kStreamParameterNotSetError;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user