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}
This commit is contained in:
peah 2017-06-30 03:13:21 -07:00 committed by Commit Bot
parent d2b63cf131
commit 8f9ce1d991

View File

@ -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");