Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(216)

Unified Diff: webrtc/modules/audio_coding/acm2/acm_receiver.h

Issue 2365653004: AudioCodingModule: Specify decoders using SdpAudioFormat (Closed)
Patch Set: rebase Created 4 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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..ea85456458b6bd3ce23d0ab8d4815197f63d1f4d 100644
--- a/webrtc/modules/audio_coding/acm2/acm_receiver.h
+++ b/webrtc/modules/audio_coding/acm2/acm_receiver.h
@@ -113,6 +113,10 @@ class AcmReceiver {
AudioDecoder* audio_decoder,
const std::string& name);
+ // Adds a new decoder to the NetEq codec database. Returns true iff
+ // successful.
+ bool AddCodec(int rtp_payload_type, const SdpAudioFormat& audio_format);
+
//
// Sets a minimum delay for packet buffer. The given delay is maintained,
// unless channel condition dictates a higher delay.

Powered by Google App Engine
This is Rietveld 408576698