commit | 9e2be5f292c574ca88e145ebb15b0ffd63f9b87c | [log] [tgz] |
---|---|---|
author | kwiberg <kwiberg@webrtc.org> | Wed Sep 14 05:23:22 2016 -0700 |
committer | Commit bot <commit-bot@chromium.org> | Wed Sep 14 12:23:29 2016 +0000 |
tree | 32de1167cfc7ced9fe4c5321e5e7271e780e1972 | |
parent | 3a7f35b1c4abb7d08a41d79098e7f54a24a70783 [diff] [blame] |
webrtc/modules/audio_processing: Use RTC_DCHECK() instead of assert() Review-Url: https://codereview.webrtc.org/2320053003 Cr-Commit-Position: refs/heads/master@{#14211}
diff --git a/webrtc/modules/audio_processing/voice_detection_impl.cc b/webrtc/modules/audio_processing/voice_detection_impl.cc index 5a0d37c..a0702e8 100644 --- a/webrtc/modules/audio_processing/voice_detection_impl.cc +++ b/webrtc/modules/audio_processing/voice_detection_impl.cc
@@ -103,7 +103,7 @@ bool VoiceDetectionImpl::stream_has_voice() const { rtc::CritScope cs(crit_); // TODO(ajm): enable this assertion? - //assert(using_external_vad_ || is_component_enabled()); + //RTC_DCHECK(using_external_vad_ || is_component_enabled()); return stream_has_voice_; }