Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(193)

Unified Diff: webrtc/modules/audio_processing/echo_cancellation_impl.cc

Issue 2419023002: Corrected the emptying of the render queues for the AEC and AECM when these become full. (Closed)
Patch Set: Created 4 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | webrtc/modules/audio_processing/echo_control_mobile_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webrtc/modules/audio_processing/echo_cancellation_impl.cc
diff --git a/webrtc/modules/audio_processing/echo_cancellation_impl.cc b/webrtc/modules/audio_processing/echo_cancellation_impl.cc
index 65b4c3640767fba9f1bfb02fba092a642816220f..18c815dc00dfca8330fec3f62f46f5ce133dd4f2 100644
--- a/webrtc/modules/audio_processing/echo_cancellation_impl.cc
+++ b/webrtc/modules/audio_processing/echo_cancellation_impl.cc
@@ -166,7 +166,8 @@ int EchoCancellationImpl::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;
« no previous file with comments | « no previous file | webrtc/modules/audio_processing/echo_control_mobile_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698