Index: webrtc/modules/audio_coding/neteq/decoder_database.h |
diff --git a/webrtc/modules/audio_coding/neteq/decoder_database.h b/webrtc/modules/audio_coding/neteq/decoder_database.h |
index ec470f8d5f0ecb57be9d23dd531a6dd4baec9901..35d1d0da08bdeae4e342ef261a02e684c9f8a65c 100644 |
--- a/webrtc/modules/audio_coding/neteq/decoder_database.h |
+++ b/webrtc/modules/audio_coding/neteq/decoder_database.h |
@@ -149,6 +149,11 @@ class DecoderDatabase { |
// using InsertExternal(). |
virtual void Reset(); |
+ // Replaces the existing set of decoders with the given set. Returns the |
+ // payload types that were reassigned or removed while doing so. |
+ virtual std::vector<int> SetCodecs( |
+ const std::map<int, SdpAudioFormat>& codecs); |
+ |
// Registers |rtp_payload_type| as a decoder of type |codec_type|. The |name| |
// is only used to populate the name field in the DecoderInfo struct in the |
// database, and can be arbitrary (including empty). Returns kOK on success; |