Index: webrtc/modules/audio_coding/codecs/pcm16b/audio_encoder_pcm16b.cc |
diff --git a/webrtc/modules/audio_coding/codecs/pcm16b/audio_encoder_pcm16b.cc b/webrtc/modules/audio_coding/codecs/pcm16b/audio_encoder_pcm16b.cc |
index 491fdfdb14fb7369c479c02a4efc3470b0c07dce..0c246c34bdb6a825ea1ca9014254157a2e1cf890 100644 |
--- a/webrtc/modules/audio_coding/codecs/pcm16b/audio_encoder_pcm16b.cc |
+++ b/webrtc/modules/audio_coding/codecs/pcm16b/audio_encoder_pcm16b.cc |
@@ -29,6 +29,10 @@ int16_t AudioEncoderPcm16B::EncodeCall(const int16_t* audio, |
return WebRtcPcm16b_Encode(audio, static_cast<int16_t>(input_len), encoded); |
} |
+int AudioEncoderPcm16B::BytesPerSample() const { |
+ return 2; |
+} |
+ |
namespace { |
AudioEncoderPcm16B::Config CreateConfig(const CodecInst& codec_inst) { |
AudioEncoderPcm16B::Config config; |