Index: webrtc/audio/audio_state.cc |
diff --git a/webrtc/audio/audio_state.cc b/webrtc/audio/audio_state.cc |
index 95a90a5bf1153ba0d51b1c669cdac0a8936d59a8..cb907ce3f19dd04055246ba79e71148fd7f316ec 100644 |
--- a/webrtc/audio/audio_state.cc |
+++ b/webrtc/audio/audio_state.cc |
@@ -26,6 +26,8 @@ AudioState::AudioState(const AudioState::Config& config) |
voe_base_->audio_processing(), |
config_.audio_mixer) { |
process_thread_checker_.DetachFromThread(); |
+ RTC_DCHECK(config_.audio_mixer); |
+ |
// Only one AudioState should be created per VoiceEngine. |
RTC_CHECK(voe_base_->RegisterVoiceEngineObserver(*this) != -1); |