| Index: webrtc/modules/audio_coding/acm2/rent_a_codec.h
|
| diff --git a/webrtc/modules/audio_coding/acm2/rent_a_codec.h b/webrtc/modules/audio_coding/acm2/rent_a_codec.h
|
| index cf6891a62ca4cd907f00760867639fe118afdfe6..b1dcc9196c196d6f622ea078c320164f0d1c2df0 100644
|
| --- a/webrtc/modules/audio_coding/acm2/rent_a_codec.h
|
| +++ b/webrtc/modules/audio_coding/acm2/rent_a_codec.h
|
| @@ -162,12 +162,12 @@ class RentACodec {
|
|
|
| static rtc::Optional<CodecId> CodecIdByParams(const char* payload_name,
|
| int sampling_freq_hz,
|
| - int channels);
|
| + size_t channels);
|
| static rtc::Optional<CodecInst> CodecInstById(CodecId codec_id);
|
| static rtc::Optional<CodecId> CodecIdByInst(const CodecInst& codec_inst);
|
| static rtc::Optional<CodecInst> CodecInstByParams(const char* payload_name,
|
| int sampling_freq_hz,
|
| - int channels);
|
| + size_t channels);
|
| static bool IsCodecValid(const CodecInst& codec_inst);
|
|
|
| static inline bool IsPayloadTypeValid(int payload_type) {
|
| @@ -177,10 +177,11 @@ class RentACodec {
|
| static rtc::ArrayView<const CodecInst> Database();
|
|
|
| static rtc::Optional<bool> IsSupportedNumChannels(CodecId codec_id,
|
| - int num_channels);
|
| + size_t num_channels);
|
|
|
| - static rtc::Optional<NetEqDecoder> NetEqDecoderFromCodecId(CodecId codec_id,
|
| - int num_channels);
|
| + static rtc::Optional<NetEqDecoder> NetEqDecoderFromCodecId(
|
| + CodecId codec_id,
|
| + size_t num_channels);
|
|
|
| // Parse codec_inst and extract payload types. If the given CodecInst was for
|
| // the wrong sort of codec, return kSkip; otherwise, if the rate was illegal,
|
|
|