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}
This commit is contained in:
@ -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");
|
||||
|
||||
Reference in New Issue
Block a user