Index: webrtc/modules/audio_coding/codecs/g722/audio_decoder_g722.h |
diff --git a/webrtc/modules/audio_coding/codecs/g722/audio_decoder_g722.h b/webrtc/modules/audio_coding/codecs/g722/audio_decoder_g722.h |
index 1837ffabe2972b570e343cb6f16de8d7fba95887..ccca73d1a19dc21a4ebd9ef79b20b0065ff69bea 100644 |
--- a/webrtc/modules/audio_coding/codecs/g722/audio_decoder_g722.h |
+++ b/webrtc/modules/audio_coding/codecs/g722/audio_decoder_g722.h |
@@ -25,6 +25,7 @@ class AudioDecoderG722 final : public AudioDecoder { |
bool HasDecodePlc() const override; |
void Reset() override; |
int PacketDuration(const uint8_t* encoded, size_t encoded_len) const override; |
+ int SampleRateHz() const override; |
size_t Channels() const override; |
protected: |
@@ -44,6 +45,8 @@ class AudioDecoderG722Stereo final : public AudioDecoder { |
AudioDecoderG722Stereo(); |
~AudioDecoderG722Stereo() override; |
void Reset() override; |
+ int SampleRateHz() const override; |
+ size_t Channels() const override; |
protected: |
int DecodeInternal(const uint8_t* encoded, |
@@ -51,7 +54,6 @@ class AudioDecoderG722Stereo final : public AudioDecoder { |
int sample_rate_hz, |
int16_t* decoded, |
SpeechType* speech_type) override; |
- size_t Channels() const override; |
private: |
// Splits the stereo-interleaved payload in |encoded| into separate payloads |