Index: webrtc/modules/audio_coding/codecs/g711/include/audio_encoder_pcm.h |
diff --git a/webrtc/modules/audio_coding/codecs/g711/include/audio_encoder_pcm.h b/webrtc/modules/audio_coding/codecs/g711/include/audio_encoder_pcm.h |
index 7d45f3f71df7ae31566b9bcf29a35855e4e5bd3d..a1d1427c49faee1c3ef2d8d56af51636e2446d77 100644 |
--- a/webrtc/modules/audio_coding/codecs/g711/include/audio_encoder_pcm.h |
+++ b/webrtc/modules/audio_coding/codecs/g711/include/audio_encoder_pcm.h |
@@ -26,7 +26,7 @@ class AudioEncoderPcm : public AudioEncoder { |
bool IsOk() const; |
int frame_size_ms; |
- int num_channels; |
+ size_t num_channels; |
int payload_type; |
protected: |
@@ -37,7 +37,7 @@ class AudioEncoderPcm : public AudioEncoder { |
~AudioEncoderPcm() 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; |
@@ -58,7 +58,7 @@ class AudioEncoderPcm : public AudioEncoder { |
private: |
const int sample_rate_hz_; |
- const int num_channels_; |
+ const size_t num_channels_; |
const int payload_type_; |
const size_t num_10ms_frames_per_packet_; |
const size_t full_frame_samples_; |