Index: webrtc/modules/audio_coding/codecs/pcm16b/audio_encoder_pcm16b.h |
diff --git a/webrtc/modules/audio_coding/codecs/pcm16b/audio_encoder_pcm16b.h b/webrtc/modules/audio_coding/codecs/pcm16b/audio_encoder_pcm16b.h |
index bdc27a67e3093de23fba032430b934036d4c47b5..deb0e1e80fe5c7e04857c1f9895079bb427e9cf1 100644 |
--- a/webrtc/modules/audio_coding/codecs/pcm16b/audio_encoder_pcm16b.h |
+++ b/webrtc/modules/audio_coding/codecs/pcm16b/audio_encoder_pcm16b.h |
@@ -31,6 +31,11 @@ class AudioEncoderPcm16B final : public AudioEncoderPcm { |
explicit AudioEncoderPcm16B(const Config& config) |
: AudioEncoderPcm(config, config.sample_rate_hz) {} |
explicit AudioEncoderPcm16B(const CodecInst& codec_inst); |
+ AudioEncoderPcm16B(int payload_type, const SdpAudioFormat& format); |
+ |
+ static constexpr const char* GetPayloadName() { return "L16"; } |
+ static rtc::Optional<AudioCodecInfo> QueryAudioEncoder( |
+ const SdpAudioFormat& format); |
protected: |
size_t EncodeCall(const int16_t* audio, |