| Index: webrtc/modules/audio_coding/main/acm2/codec_owner.h
|
| diff --git a/webrtc/modules/audio_coding/main/acm2/codec_owner.h b/webrtc/modules/audio_coding/main/acm2/codec_owner.h
|
| index ae7e4520b397542fac136e34f70a41d23e4da988..3835c2888f05024012129dc425f9b4882c093118 100644
|
| --- a/webrtc/modules/audio_coding/main/acm2/codec_owner.h
|
| +++ b/webrtc/modules/audio_coding/main/acm2/codec_owner.h
|
| @@ -29,10 +29,12 @@ class CodecOwner {
|
| CodecOwner();
|
| ~CodecOwner();
|
|
|
| - void SetEncoders(const CodecInst& speech_inst,
|
| + // Start using the specified encoder. Returns false on error.
|
| + // TODO(kwiberg): Don't handle errors here (bug 5033)
|
| + bool SetEncoders(const CodecInst& speech_inst,
|
| int cng_payload_type,
|
| ACMVADMode vad_mode,
|
| - int red_payload_type);
|
| + int red_payload_type) WARN_UNUSED_RESULT;
|
|
|
| void SetEncoders(AudioEncoder* external_speech_encoder,
|
| int cng_payload_type,
|
|
|