commit | 02ed201182f44e1a55365afa43f71a30a8bfe4f5 | [log] [tgz] |
---|---|---|
author | Henrik Lundin <henrik.lundin@webrtc.org> | Thu Jun 08 09:03:55 2017 +0200 |
committer | Commit Bot <commit-bot@chromium.org> | Thu Jun 08 09:18:14 2017 +0000 |
tree | 06a9e7ec60331da3a3e578576c71df5bca1b1d98 | |
parent | 88f94fa36aa61f7904d30251205c544ada2c4301 [diff] [blame] |
AcmReceiver: Make a member variable const This is a minor clean-up made possible by simplifications done in the past. Bug: none Change-Id: Id0ea167572f8da36db5de949441f67a2a18555be Reviewed-on: https://chromium-review.googlesource.com/528073 Reviewed-by: Karl Wiberg <kwiberg@webrtc.org> Commit-Queue: Henrik Lundin <henrik.lundin@webrtc.org> Cr-Commit-Position: refs/heads/master@{#18490}
diff --git a/webrtc/modules/audio_coding/acm2/acm_receiver.cc b/webrtc/modules/audio_coding/acm2/acm_receiver.cc index 2eacefd..553265e 100644 --- a/webrtc/modules/audio_coding/acm2/acm_receiver.cc +++ b/webrtc/modules/audio_coding/acm2/acm_receiver.cc
@@ -37,7 +37,7 @@ neteq_(NetEq::Create(config.neteq_config, config.decoder_factory)), clock_(config.clock), resampled_last_output_frame_(true) { - assert(clock_); + RTC_DCHECK(clock_); memset(last_audio_buffer_.get(), 0, AudioFrame::kMaxDataSizeSamples); }