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

Unified Diff: webrtc/modules/audio_processing/echo_control_mobile_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 | « webrtc/modules/audio_processing/echo_cancellation_impl.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webrtc/modules/audio_processing/echo_control_mobile_impl.cc
diff --git a/webrtc/modules/audio_processing/echo_control_mobile_impl.cc b/webrtc/modules/audio_processing/echo_control_mobile_impl.cc
index d8eb7a38f3534dab1d54f3b44e650caaf2795477..0c62648e70015249214ae3a463aec6ae8d45bac0 100644
--- a/webrtc/modules/audio_processing/echo_control_mobile_impl.cc
+++ b/webrtc/modules/audio_processing/echo_control_mobile_impl.cc
@@ -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;
« no previous file with comments | « webrtc/modules/audio_processing/echo_cancellation_impl.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698