Index: webrtc/modules/audio_coding/neteq/neteq_impl.cc |
diff --git a/webrtc/modules/audio_coding/neteq/neteq_impl.cc b/webrtc/modules/audio_coding/neteq/neteq_impl.cc |
index 71eea2114c2d3892e13d160ba43d8e700e20dea7..5e2116409db37cf528de76865e6578a6d1e4c4fc 100644 |
--- a/webrtc/modules/audio_coding/neteq/neteq_impl.cc |
+++ b/webrtc/modules/audio_coding/neteq/neteq_impl.cc |
@@ -291,6 +291,11 @@ int NetEqImpl::RemovePayloadType(uint8_t rtp_payload_type) { |
return kFail; |
} |
+void NetEqImpl::RemoveAllPayloadTypes() { |
+ rtc::CritScope lock(&crit_sect_); |
+ decoder_database_->RemoveAll(); |
+} |
+ |
bool NetEqImpl::SetMinimumDelay(int delay_ms) { |
rtc::CritScope lock(&crit_sect_); |
if (delay_ms >= 0 && delay_ms < 10000) { |