Index: webrtc/modules/audio_coding/neteq/neteq_impl.h |
diff --git a/webrtc/modules/audio_coding/neteq/neteq_impl.h b/webrtc/modules/audio_coding/neteq/neteq_impl.h |
index 0fc204f0e8afcf83763404695248daa71b829a4c..093c8d5dadde917a29151a6c18e6402216e524f7 100644 |
--- a/webrtc/modules/audio_coding/neteq/neteq_impl.h |
+++ b/webrtc/modules/audio_coding/neteq/neteq_impl.h |
@@ -11,6 +11,8 @@ |
#ifndef WEBRTC_MODULES_AUDIO_CODING_NETEQ_NETEQ_IMPL_H_ |
#define WEBRTC_MODULES_AUDIO_CODING_NETEQ_NETEQ_IMPL_H_ |
+#include <string> |
+ |
#include "webrtc/base/constructormagic.h" |
#include "webrtc/base/scoped_ptr.h" |
#include "webrtc/base/thread_annotations.h" |
@@ -108,17 +110,13 @@ class NetEqImpl : public webrtc::NetEq { |
int* num_channels, |
NetEqOutputType* type) override; |
- // Associates |rtp_payload_type| with |codec| and stores the information in |
- // the codec database. Returns kOK on success, kFail on failure. |
int RegisterPayloadType(NetEqDecoder codec, |
+ const std::string& codec_name, |
uint8_t rtp_payload_type) override; |
- // Provides an externally created decoder object |decoder| to insert in the |
- // decoder database. The decoder implements a decoder of type |codec| and |
- // associates it with |rtp_payload_type|. The decoder will produce samples |
- // at the rate |sample_rate_hz|. Returns kOK on success, kFail on failure. |
int RegisterExternalDecoder(AudioDecoder* decoder, |
NetEqDecoder codec, |
+ const std::string& codec_name, |
uint8_t rtp_payload_type, |
int sample_rate_hz) override; |