| Index: webrtc/modules/audio_coding/codecs/g722/include/audio_encoder_g722.h
|
| diff --git a/webrtc/modules/audio_coding/codecs/g722/include/audio_encoder_g722.h b/webrtc/modules/audio_coding/codecs/g722/include/audio_encoder_g722.h
|
| index 1f36facd66f1a50068d3c770a5bb83902227ac61..5879f3a05607bfe184e91c94746d4f0d433ca8aa 100644
|
| --- a/webrtc/modules/audio_coding/codecs/g722/include/audio_encoder_g722.h
|
| +++ b/webrtc/modules/audio_coding/codecs/g722/include/audio_encoder_g722.h
|
| @@ -27,14 +27,14 @@ class AudioEncoderG722 final : public AudioEncoder {
|
|
|
| int payload_type;
|
| int frame_size_ms;
|
| - int num_channels;
|
| + size_t num_channels;
|
| };
|
|
|
| explicit AudioEncoderG722(const Config& config);
|
| ~AudioEncoderG722() 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;
|
| @@ -57,7 +57,7 @@ class AudioEncoderG722 final : public AudioEncoder {
|
|
|
| size_t SamplesPerChannel() const;
|
|
|
| - const int num_channels_;
|
| + const size_t num_channels_;
|
| const int payload_type_;
|
| const size_t num_10ms_frames_per_packet_;
|
| size_t num_10ms_frames_buffered_;
|
|
|