Index: webrtc/modules/audio_coding/codecs/cng/include/audio_encoder_cng.h |
diff --git a/webrtc/modules/audio_coding/codecs/cng/include/audio_encoder_cng.h b/webrtc/modules/audio_coding/codecs/cng/include/audio_encoder_cng.h |
index 6a1136602e0b25929666febe78fbd30ed12d6db5..0a6fe695acce00b25ce4b8ac63f6aa314340f905 100644 |
--- a/webrtc/modules/audio_coding/codecs/cng/include/audio_encoder_cng.h |
+++ b/webrtc/modules/audio_coding/codecs/cng/include/audio_encoder_cng.h |
@@ -28,7 +28,7 @@ class AudioEncoderCng final : public AudioEncoder { |
Config(); |
bool IsOk() const; |
- int num_channels; |
+ size_t num_channels; |
int payload_type; |
// Caller keeps ownership of the AudioEncoder object. |
AudioEncoder* speech_encoder; |
@@ -47,7 +47,7 @@ class AudioEncoderCng final : public AudioEncoder { |
~AudioEncoderCng() override; |
int SampleRateHz() const override; |
- int NumChannels() const override; |
+ size_t NumChannels() const override; |
size_t MaxEncodedBytes() const override; |
int RtpTimestampRateHz() const override; |
size_t Num10MsFramesInNextPacket() const override; |