| Index: webrtc/modules/audio_coding/include/audio_coding_module.h
|
| diff --git a/webrtc/modules/audio_coding/include/audio_coding_module.h b/webrtc/modules/audio_coding/include/audio_coding_module.h
|
| index fc8ae1ed513cb5098c2406f09a4d63a2e1f9720a..ebf97e482c2271299a2579eced40c5a372b06023 100644
|
| --- a/webrtc/modules/audio_coding/include/audio_coding_module.h
|
| +++ b/webrtc/modules/audio_coding/include/audio_coding_module.h
|
| @@ -543,6 +543,17 @@ class AudioCodingModule {
|
| virtual int32_t ReceiveCodec(CodecInst* curr_receive_codec) const = 0;
|
|
|
| ///////////////////////////////////////////////////////////////////////////
|
| + // rtc::Optional<SdpAudioFormat> ReceiveFormat()
|
| + // Get the format associated with last received payload.
|
| + //
|
| + // Return value:
|
| + // An SdpAudioFormat describing the format associated with the last
|
| + // received payload.
|
| + // An empty Optional if no payload has yet been received.
|
| + //
|
| + virtual rtc::Optional<SdpAudioFormat> ReceiveFormat() const = 0;
|
| +
|
| + ///////////////////////////////////////////////////////////////////////////
|
| // int32_t IncomingPacket()
|
| // Call this function to insert a parsed RTP packet into ACM.
|
| //
|
|
|