Reland Remove the deprecated EncodeInternal interface from AudioEncoder
Remove the deprecated EncodeInternal interface from AudioEncoder Also hid MaxEncodedBytes by making it private. It will get removed as soon as subclasses have had time to remove their overrides. BUG=webrtc:5591 Review URL: https://codereview.webrtc.org/1881003003 Cr-Commit-Position: refs/heads/master@{#12409}
This commit is contained in:
@ -56,10 +56,6 @@ AudioEncoderIlbc::~AudioEncoderIlbc() {
|
||||
RTC_CHECK_EQ(0, WebRtcIlbcfix_EncoderFree(encoder_));
|
||||
}
|
||||
|
||||
size_t AudioEncoderIlbc::MaxEncodedBytes() const {
|
||||
return RequiredOutputSizeBytes();
|
||||
}
|
||||
|
||||
int AudioEncoderIlbc::SampleRateHz() const {
|
||||
return kSampleRateHz;
|
||||
}
|
||||
|
||||
@ -34,7 +34,6 @@ class AudioEncoderIlbc final : public AudioEncoder {
|
||||
explicit AudioEncoderIlbc(const CodecInst& codec_inst);
|
||||
~AudioEncoderIlbc() override;
|
||||
|
||||
size_t MaxEncodedBytes() const override;
|
||||
int SampleRateHz() const override;
|
||||
size_t NumChannels() const override;
|
||||
size_t Num10MsFramesInNextPacket() const override;
|
||||
|
||||
Reference in New Issue
Block a user