commit | 377a231c0d6f2843eea39d0997425af5fd346f79 | [log] [tgz] |
---|---|---|
author | Karl Wiberg <kwiberg@webrtc.org> | Mon Sep 24 14:52:51 2018 +0200 |
committer | Commit Bot <commit-bot@chromium.org> | Tue Sep 25 17:16:56 2018 +0000 |
tree | 99ca1565405ec09a11a4ae1bfbf4dd9f0bf605b1 | |
parent | 3f4a4fad8cd661309ff5d9a631e89518f32e7c5e [diff] [blame] |
acm_receiver_unittest: Don't rely on the ACM to create encoders It will soon lose the ability to do so. Bug: webrtc:8396 Change-Id: Ifca101fce0c349dba8c402ab2b6ad614061a88f6 Reviewed-on: https://webrtc-review.googlesource.com/101281 Reviewed-by: Ivo Creusen <ivoc@webrtc.org> Commit-Queue: Karl Wiberg <kwiberg@webrtc.org> Cr-Commit-Position: refs/heads/master@{#24836}
diff --git a/modules/audio_coding/acm2/acm_receiver.h b/modules/audio_coding/acm2/acm_receiver.h index 0731677..a2ae723 100644 --- a/modules/audio_coding/acm2/acm_receiver.h +++ b/modules/audio_coding/acm2/acm_receiver.h
@@ -224,6 +224,7 @@ // int DecoderByPayloadType(uint8_t payload_type, CodecInst* codec) const; + absl::optional<SdpAudioFormat> DecoderByPayloadType(int payload_type) const; // // Enable NACK and set the maximum size of the NACK list. If NACK is already