| Index: webrtc/modules/audio_coding/neteq/audio_decoder_impl.cc
|
| diff --git a/webrtc/modules/audio_coding/neteq/audio_decoder_impl.cc b/webrtc/modules/audio_coding/neteq/audio_decoder_impl.cc
|
| index 1b0a1c17d2c8bf707b91300af0b9c44670047600..a96702156f8a185975b4be7cb4ab15e3975778ba 100644
|
| --- a/webrtc/modules/audio_coding/neteq/audio_decoder_impl.cc
|
| +++ b/webrtc/modules/audio_coding/neteq/audio_decoder_impl.cc
|
| @@ -20,7 +20,7 @@
|
| #include "webrtc/modules/audio_coding/codecs/g722/include/g722_interface.h"
|
| #endif
|
| #ifdef WEBRTC_CODEC_ILBC
|
| -#include "webrtc/modules/audio_coding/codecs/ilbc/interface/ilbc.h"
|
| +#include "webrtc/modules/audio_coding/codecs/ilbc/interface/audio_decoder_ilbc.h"
|
| #endif
|
| #ifdef WEBRTC_CODEC_ISACFX
|
| #include "webrtc/modules/audio_coding/codecs/isac/fix/interface/audio_encoder_isacfix.h"
|
| @@ -132,47 +132,6 @@ size_t AudioDecoderPcm16BMultiCh::Channels() const {
|
| return channels_;
|
| }
|
|
|
| -// iLBC
|
| -#ifdef WEBRTC_CODEC_ILBC
|
| -AudioDecoderIlbc::AudioDecoderIlbc() {
|
| - WebRtcIlbcfix_DecoderCreate(&dec_state_);
|
| - WebRtcIlbcfix_Decoderinit30Ms(dec_state_);
|
| -}
|
| -
|
| -AudioDecoderIlbc::~AudioDecoderIlbc() {
|
| - WebRtcIlbcfix_DecoderFree(dec_state_);
|
| -}
|
| -
|
| -bool AudioDecoderIlbc::HasDecodePlc() const {
|
| - return true;
|
| -}
|
| -
|
| -int AudioDecoderIlbc::DecodeInternal(const uint8_t* encoded,
|
| - size_t encoded_len,
|
| - int sample_rate_hz,
|
| - int16_t* decoded,
|
| - SpeechType* speech_type) {
|
| - DCHECK_EQ(sample_rate_hz, 8000);
|
| - int16_t temp_type = 1; // Default is speech.
|
| - int ret = WebRtcIlbcfix_Decode(dec_state_, encoded, encoded_len, decoded,
|
| - &temp_type);
|
| - *speech_type = ConvertSpeechType(temp_type);
|
| - return ret;
|
| -}
|
| -
|
| -size_t AudioDecoderIlbc::DecodePlc(size_t num_frames, int16_t* decoded) {
|
| - return WebRtcIlbcfix_NetEqPlc(dec_state_, decoded, num_frames);
|
| -}
|
| -
|
| -void AudioDecoderIlbc::Reset() {
|
| - WebRtcIlbcfix_Decoderinit30Ms(dec_state_);
|
| -}
|
| -
|
| -size_t AudioDecoderIlbc::Channels() const {
|
| - return 1;
|
| -}
|
| -#endif
|
| -
|
| // G.722
|
| #ifdef WEBRTC_CODEC_G722
|
| AudioDecoderG722::AudioDecoderG722() {
|
|
|