Index: webrtc/modules/audio_coding/codecs/opus/interface/audio_encoder_opus.h |
diff --git a/webrtc/modules/audio_coding/codecs/opus/interface/audio_encoder_opus.h b/webrtc/modules/audio_coding/codecs/opus/interface/audio_encoder_opus.h |
index 5fab599fe1ae42e749fb5aa490612e42433bf36d..d9b74f37b5d0f5de554c54e8cb00b20ce792c91c 100644 |
--- a/webrtc/modules/audio_coding/codecs/opus/interface/audio_encoder_opus.h |
+++ b/webrtc/modules/audio_coding/codecs/opus/interface/audio_encoder_opus.h |
@@ -34,7 +34,7 @@ class AudioEncoderOpus final : public AudioEncoder { |
Config(); |
bool IsOk() const; |
int frame_size_ms; |
- int num_channels; |
+ size_t num_channels; |
int payload_type; |
ApplicationMode application; |
int bitrate_bps; |
@@ -48,7 +48,7 @@ class AudioEncoderOpus final : public AudioEncoder { |
~AudioEncoderOpus() override; |
int SampleRateHz() const override; |
- int NumChannels() const override; |
+ size_t NumChannels() const override; |
size_t MaxEncodedBytes() const override; |
size_t Num10MsFramesInNextPacket() const override; |
size_t Max10MsFramesInAPacket() const override; |
@@ -67,7 +67,7 @@ class AudioEncoderOpus final : public AudioEncoder { |
private: |
const size_t num_10ms_frames_per_packet_; |
- const int num_channels_; |
+ const size_t num_channels_; |
const int payload_type_; |
const ApplicationMode application_; |
int bitrate_bps_; |