From 8f9ce1d991a46e833bf637b0bb61dd52552e67fe Mon Sep 17 00:00:00 2001 From: peah Date: Fri, 30 Jun 2017 03:13:21 -0700 Subject: [PATCH] Corrected the limit on the allowed API jitter in AEC3 This CL loosens the requirement on the API jitter in APM that can be tolerated without affecting the AEC3 performance. BUG=webrtc:7911,chromium:738323 Review-Url: https://codereview.webrtc.org/2967493004 Cr-Commit-Position: refs/heads/master@{#18849} --- 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 3ea26c236f..04b86e9543 100644 --- a/webrtc/modules/audio_processing/aec3/aec3_common.h +++ b/webrtc/modules/audio_processing/aec3/aec3_common.h @@ -63,7 +63,7 @@ constexpr float kFixedEchoPathGain = 100; constexpr size_t kRenderDelayBufferSize = (3 * kDownsampledRenderBufferSize) / (4 * kSubBlockSize); -constexpr size_t kMaxApiCallsJitterBlocks = 20; +constexpr size_t kMaxApiCallsJitterBlocks = 30; constexpr size_t kRenderTransferQueueSize = kMaxApiCallsJitterBlocks / 2; static_assert(2 * kRenderTransferQueueSize >= kMaxApiCallsJitterBlocks, "Requirement to ensure buffer overflow detection");