Index: webrtc/modules/audio_coding/codecs/cng/audio_encoder_cng.cc |
diff --git a/webrtc/modules/audio_coding/codecs/cng/audio_encoder_cng.cc b/webrtc/modules/audio_coding/codecs/cng/audio_encoder_cng.cc |
index 09c25d9616c4d5fa805f184ff973a842f2c824d2..d2edcb5c26557baa12832264152b56f5cb4e6547 100644 |
--- a/webrtc/modules/audio_coding/codecs/cng/audio_encoder_cng.cc |
+++ b/webrtc/modules/audio_coding/codecs/cng/audio_encoder_cng.cc |
@@ -187,6 +187,11 @@ void AudioEncoderCng::SetTargetBitrate(int bits_per_second) { |
speech_encoder_->SetTargetBitrate(bits_per_second); |
} |
+rtc::ArrayView<std::unique_ptr<AudioEncoder>> |
+AudioEncoderCng::ReclaimContainedEncoders() { |
+ return rtc::ArrayView<std::unique_ptr<AudioEncoder>>(&speech_encoder_, 1); |
+} |
+ |
AudioEncoder::EncodedInfo AudioEncoderCng::EncodePassive( |
size_t frames_to_encode, |
rtc::Buffer* encoded) { |