Index: webrtc/modules/audio_coding/codecs/opus/audio_decoder_opus.cc |
diff --git a/webrtc/modules/audio_coding/codecs/opus/audio_decoder_opus.cc b/webrtc/modules/audio_coding/codecs/opus/audio_decoder_opus.cc |
index f64e811afe33a1be840f80bf07ce2c20c576438a..42abd0a0d604d0875d614f39748687a548ace19e 100644 |
--- a/webrtc/modules/audio_coding/codecs/opus/audio_decoder_opus.cc |
+++ b/webrtc/modules/audio_coding/codecs/opus/audio_decoder_opus.cc |
@@ -87,6 +87,10 @@ bool AudioDecoderOpus::PacketHasFec(const uint8_t* encoded, |
return (fec == 1); |
} |
+int AudioDecoderOpus::SampleRateHz() const { |
+ return 48000; |
+} |
+ |
size_t AudioDecoderOpus::Channels() const { |
return channels_; |
} |