AcmReceiver: Eliminate AcmReceiver::decoders_

BUG=webrtc:5801

Review-Url: https://codereview.webrtc.org/2351183002
Cr-Commit-Position: refs/heads/master@{#14335}
This commit is contained in:
kwiberg
2016-09-21 10:55:15 -07:00
committed by Commit bot
parent c5aea65b76
commit c4ccd4d61c
9 changed files with 53 additions and 40 deletions

View File

@ -259,6 +259,11 @@ class NetEq {
// value if we have no decoder for that payload type.
virtual rtc::Optional<CodecInst> GetDecoder(int payload_type) const = 0;
// Returns the decoder format for the given payload type. Returns null if no
// such payload type was registered, or if it was registered without
// providing an SdpAudioFormat.
virtual const SdpAudioFormat* GetDecoderFormat(int payload_type) const = 0;
// Not implemented.
virtual int SetTargetNumberOfChannels() = 0;