Chromium Code Reviews| 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 6d277c95c9f013525a5fcede31ae0f236ee12021..38498f5143b1a8dd392d25eee0b9e45d30dca622 100644 |
| --- a/webrtc/modules/audio_coding/neteq/decoder_database.h |
| +++ b/webrtc/modules/audio_coding/neteq/decoder_database.h |
| @@ -136,6 +136,9 @@ class DecoderDatabase { |
| // Returns kDecoderNotFound or kOK depending on the outcome of the operation. |
| virtual int Remove(uint8_t rtp_payload_type); |
| + // Remove all entries. |
| + void RemoveAll(); |
|
hlundin-webrtc
2016/09/19 11:48:02
Add a unit test.
kwiberg-webrtc
2016/09/20 08:10:15
Done.
|
| + |
| // Returns a pointer to the DecoderInfo struct for |rtp_payload_type|. If |
| // no decoder is registered with that |rtp_payload_type|, NULL is returned. |
| virtual const DecoderInfo* GetDecoderInfo(uint8_t rtp_payload_type) const; |