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:
@ -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;
|
||||
|
||||
Reference in New Issue
Block a user