| Index: webrtc/modules/audio_coding/acm2/acm_receiver.h
|
| diff --git a/webrtc/modules/audio_coding/acm2/acm_receiver.h b/webrtc/modules/audio_coding/acm2/acm_receiver.h
|
| index 06946f41d8898f5e4edd05a2a06a31cc84f27ba9..35f7a471566313ea365b07ade4327e7a74a9e3e4 100644
|
| --- a/webrtc/modules/audio_coding/acm2/acm_receiver.h
|
| +++ b/webrtc/modules/audio_coding/acm2/acm_receiver.h
|
| @@ -205,6 +205,8 @@ class AcmReceiver {
|
| //
|
| int LastAudioCodec(CodecInst* codec) const;
|
|
|
| + rtc::Optional<SdpAudioFormat> LastAudioFormat() const;
|
| +
|
| //
|
| // Get a decoder given its registered payload-type.
|
| //
|
| @@ -269,6 +271,7 @@ class AcmReceiver {
|
|
|
| rtc::CriticalSection crit_sect_;
|
| rtc::Optional<CodecInst> last_audio_decoder_ GUARDED_BY(crit_sect_);
|
| + rtc::Optional<SdpAudioFormat> last_audio_format_ GUARDED_BY(crit_sect_);
|
| ACMResampler resampler_ GUARDED_BY(crit_sect_);
|
| std::unique_ptr<int16_t[]> last_audio_buffer_ GUARDED_BY(crit_sect_);
|
| CallStatistics call_stats_ GUARDED_BY(crit_sect_);
|
|
|