| Index: webrtc/modules/audio_coding/codecs/pcm16b/audio_decoder_pcm16b.cc
|
| diff --git a/webrtc/modules/audio_coding/codecs/pcm16b/audio_decoder_pcm16b.cc b/webrtc/modules/audio_coding/codecs/pcm16b/audio_decoder_pcm16b.cc
|
| index e3074dfd6dfaa37a90bc5af0a343103ec5ec456a..90359a876820ffdb983b6c362563d007fa821e2f 100644
|
| --- a/webrtc/modules/audio_coding/codecs/pcm16b/audio_decoder_pcm16b.cc
|
| +++ b/webrtc/modules/audio_coding/codecs/pcm16b/audio_decoder_pcm16b.cc
|
| @@ -28,8 +28,8 @@ int AudioDecoderPcm16B::DecodeInternal(const uint8_t* encoded,
|
| int sample_rate_hz,
|
| int16_t* decoded,
|
| SpeechType* speech_type) {
|
| - DCHECK(sample_rate_hz == 8000 || sample_rate_hz == 16000 ||
|
| - sample_rate_hz == 32000 || sample_rate_hz == 48000)
|
| + RTC_DCHECK(sample_rate_hz == 8000 || sample_rate_hz == 16000 ||
|
| + sample_rate_hz == 32000 || sample_rate_hz == 48000)
|
| << "Unsupported sample rate " << sample_rate_hz;
|
| size_t ret = WebRtcPcm16b_Decode(encoded, encoded_len, decoded);
|
| *speech_type = ConvertSpeechType(1);
|
| @@ -44,7 +44,7 @@ int AudioDecoderPcm16B::PacketDuration(const uint8_t* encoded,
|
|
|
| AudioDecoderPcm16BMultiCh::AudioDecoderPcm16BMultiCh(size_t num_channels)
|
| : channels_(num_channels) {
|
| - DCHECK(num_channels > 0);
|
| + RTC_DCHECK(num_channels > 0);
|
| }
|
|
|
| size_t AudioDecoderPcm16BMultiCh::Channels() const {
|
|
|