This CL corrects the emptying of the render queues for the

AEC and AECM when these become full to also work when not
in debug mode.

BUG=webrtc:6530

Review-Url: https://codereview.webrtc.org/2419023002
Cr-Commit-Position: refs/heads/master@{#14637}
This commit is contained in:
peah
2016-10-14 03:23:32 -07:00
committed by Commit bot
parent 5d2e58c8fb
commit 8f7cc7e77d
2 changed files with 4 additions and 2 deletions

View File

@ -174,7 +174,8 @@ int EchoControlMobileImpl::ProcessRenderAudio(const AudioBuffer* audio) {
ReadQueuedRenderData();
// Retry the insert (should always work).
RTC_DCHECK_EQ(render_signal_queue_->Insert(&render_queue_buffer_), true);
bool result = render_signal_queue_->Insert(&render_queue_buffer_);
RTC_DCHECK(result);
}
return AudioProcessing::kNoError;