| Index: webrtc/modules/audio_coding/include/audio_coding_module.h
|
| diff --git a/webrtc/modules/audio_coding/include/audio_coding_module.h b/webrtc/modules/audio_coding/include/audio_coding_module.h
|
| index a0dafec022db8c55150d706b2761294cf191e87e..a9b9c878582df4734335cbe6c9bcd4b026fd0091 100644
|
| --- a/webrtc/modules/audio_coding/include/audio_coding_module.h
|
| +++ b/webrtc/modules/audio_coding/include/audio_coding_module.h
|
| @@ -490,38 +490,6 @@ class AudioCodingModule {
|
| const SdpAudioFormat& audio_format) = 0;
|
|
|
| ///////////////////////////////////////////////////////////////////////////
|
| - // int32_t RegisterReceiveCodec()
|
| - // Register possible decoders, can be called multiple times for
|
| - // codecs, CNG-NB, CNG-WB, CNG-SWB, AVT and RED.
|
| - //
|
| - // Input:
|
| - // -receive_codec : parameters of the codec to be registered, c.f.
|
| - // common_types.h for the definition of
|
| - // CodecInst.
|
| - //
|
| - // Return value:
|
| - // -1 if failed to register the codec
|
| - // 0 if the codec registered successfully.
|
| - //
|
| - virtual int RegisterReceiveCodec(const CodecInst& receive_codec) = 0;
|
| -
|
| - // Register a decoder; call repeatedly to register multiple decoders. |df| is
|
| - // a decoder factory that returns an iSAC decoder; it will be called once if
|
| - // the decoder being registered is iSAC.
|
| - virtual int RegisterReceiveCodec(
|
| - const CodecInst& receive_codec,
|
| - rtc::FunctionView<std::unique_ptr<AudioDecoder>()> isac_factory) = 0;
|
| -
|
| - // Registers an external decoder. The name is only used to provide information
|
| - // back to the caller about the decoder. Hence, the name is arbitrary, and may
|
| - // be empty.
|
| - virtual int RegisterExternalReceiveCodec(int rtp_payload_type,
|
| - AudioDecoder* external_decoder,
|
| - int sample_rate_hz,
|
| - int num_channels,
|
| - const std::string& name) = 0;
|
| -
|
| - ///////////////////////////////////////////////////////////////////////////
|
| // int32_t UnregisterReceiveCodec()
|
| // Unregister the codec currently registered with a specific payload type
|
| // from the list of possible receive codecs.
|
|
|