Index: webrtc/modules/audio_coding/codecs/pcm16b/include/audio_encoder_pcm16b.h |
diff --git a/webrtc/modules/audio_coding/codecs/pcm16b/include/audio_encoder_pcm16b.h b/webrtc/modules/audio_coding/codecs/pcm16b/include/audio_encoder_pcm16b.h |
index f1e1c51da8d724e119e21ab2b4e260a73736ecca..f02cf92dd960fb213e0ebfd85c0c9d114b167277 100644 |
--- a/webrtc/modules/audio_coding/codecs/pcm16b/include/audio_encoder_pcm16b.h |
+++ b/webrtc/modules/audio_coding/codecs/pcm16b/include/audio_encoder_pcm16b.h |
@@ -17,7 +17,7 @@ |
namespace webrtc { |
-class AudioEncoderPcm16B : public AudioEncoderPcm { |
+class AudioEncoderPcm16B final : public AudioEncoderPcm { |
public: |
struct Config : public AudioEncoderPcm::Config { |
public: |
@@ -34,6 +34,8 @@ class AudioEncoderPcm16B : public AudioEncoderPcm { |
int16_t EncodeCall(const int16_t* audio, |
size_t input_len, |
uint8_t* encoded) override; |
+ |
+ int BytesPerSample() const override; |
}; |
struct CodecInst; |