AcmReceiver: Ask NetEq to delete all decoders at once instead of one by one

It requires a new NetEq method, but it can no longer fail. And we no
longer need to use AcmReceiver::decoders_, which we're trying to
eliminate.

BUG=webrtc:5801

Review-Url: https://codereview.webrtc.org/2342313002
Cr-Commit-Position: refs/heads/master@{#14275}
This commit is contained in:
kwiberg
2016-09-17 10:45:21 -07:00
committed by Commit bot
parent 1e4d8b574c
commit f6232b43a1
8 changed files with 25 additions and 23 deletions

View File

@ -123,6 +123,8 @@ class NetEqImpl : public webrtc::NetEq {
// -1 on failure.
int RemovePayloadType(uint8_t rtp_payload_type) override;
void RemoveAllPayloadTypes() override;
bool SetMinimumDelay(int delay_ms) override;
bool SetMaximumDelay(int delay_ms) override;