From cd8b079afb1859a7579cfc9a9fc8af3a2fef6673 Mon Sep 17 00:00:00 2001 From: peah Date: Wed, 30 Aug 2017 06:19:11 -0700 Subject: [PATCH] Increased the allowed API call jitter in AEC3 This CL increases the amount of API call jitter that is allowed in AEC3 without causing resets of AEC3. This increase is now possible, as non- causal alignments will be detected by the newly imposed delay bound. BUG=8175 Review-Url: https://codereview.webrtc.org/3012553002 Cr-Commit-Position: refs/heads/master@{#19603} --- webrtc/modules/audio_processing/aec3/aec3_common.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/webrtc/modules/audio_processing/aec3/aec3_common.h b/webrtc/modules/audio_processing/aec3/aec3_common.h index bf62c0e649..b8b638d1d8 100644 --- a/webrtc/modules/audio_processing/aec3/aec3_common.h +++ b/webrtc/modules/audio_processing/aec3/aec3_common.h @@ -64,7 +64,7 @@ constexpr size_t kRenderDelayBufferSize = (3 * kDownsampledRenderBufferSize) / (4 * kSubBlockSize); constexpr size_t kMinEchoPathDelayBlocks = 5; -constexpr size_t kMaxApiCallsJitterBlocks = 30; +constexpr size_t kMaxApiCallsJitterBlocks = 60; constexpr size_t kRenderTransferQueueSize = kMaxApiCallsJitterBlocks / 2; static_assert(2 * kRenderTransferQueueSize >= kMaxApiCallsJitterBlocks, "Requirement to ensure buffer overflow detection");