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

Unified Diff: content/renderer/media/media_stream_audio_processor.cc

Issue 2932063002: Clean up DCHECKs in MediaStreamAudioProcessor (Closed)
Patch Set: Created 3 years, 6 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 | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/renderer/media/media_stream_audio_processor.cc
diff --git a/content/renderer/media/media_stream_audio_processor.cc b/content/renderer/media/media_stream_audio_processor.cc
index d5314117518c5912fa0b06fb42fd0da7ce003909..3e1ff6fd6fa32491861acc2d9a5cb60d4bd4962c 100644
--- a/content/renderer/media/media_stream_audio_processor.cc
+++ b/content/renderer/media/media_stream_audio_processor.cc
@@ -552,11 +552,9 @@ void MediaStreamAudioProcessor::OnPlayoutData(media::AudioBus* audio_bus,
int audio_delay_milliseconds) {
DCHECK(render_thread_checker_.CalledOnValidThread());
#if defined(OS_ANDROID)
- DCHECK(audio_processing_->echo_control_mobile()->is_enabled());
DCHECK(!audio_processing_->echo_cancellation()->is_enabled());
#else
DCHECK(!audio_processing_->echo_control_mobile()->is_enabled());
- DCHECK(audio_processing_->echo_cancellation()->is_enabled());
#endif
TRACE_EVENT0("audio", "MediaStreamAudioProcessor::OnPlayoutData");
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698