| Index: webrtc/modules/audio_coding/codecs/cng/audio_encoder_cng.h
|
| diff --git a/webrtc/modules/audio_coding/codecs/cng/audio_encoder_cng.h b/webrtc/modules/audio_coding/codecs/cng/audio_encoder_cng.h
|
| index 8a17ac9822c189b7a1a3b08dc50d1f53be87b624..3c2426077404685c20444a8b5a4bf44fa86d0140 100644
|
| --- a/webrtc/modules/audio_coding/codecs/cng/audio_encoder_cng.h
|
| +++ b/webrtc/modules/audio_coding/codecs/cng/audio_encoder_cng.h
|
| @@ -30,6 +30,8 @@ class Vad;
|
|
|
| class AudioEncoderCng final : public AudioEncoder {
|
| public:
|
| + using AudioEncoder::EncodeInternal;
|
| +
|
| struct Config {
|
| bool IsOk() const;
|
|
|
| @@ -59,8 +61,7 @@ class AudioEncoderCng final : public AudioEncoder {
|
| int GetTargetBitrate() const override;
|
| EncodedInfo EncodeInternal(uint32_t rtp_timestamp,
|
| rtc::ArrayView<const int16_t> audio,
|
| - size_t max_encoded_bytes,
|
| - uint8_t* encoded) override;
|
| + rtc::Buffer* encoded) override;
|
| void Reset() override;
|
| bool SetFec(bool enable) override;
|
| bool SetDtx(bool enable) override;
|
| @@ -71,11 +72,9 @@ class AudioEncoderCng final : public AudioEncoder {
|
|
|
| private:
|
| EncodedInfo EncodePassive(size_t frames_to_encode,
|
| - size_t max_encoded_bytes,
|
| - uint8_t* encoded);
|
| + rtc::Buffer* encoded);
|
| EncodedInfo EncodeActive(size_t frames_to_encode,
|
| - size_t max_encoded_bytes,
|
| - uint8_t* encoded);
|
| + rtc::Buffer* encoded);
|
| size_t SamplesPer10msFrame() const;
|
|
|
| AudioEncoder* speech_encoder_;
|
|
|