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 51d2febad6fb3db48fa73a6c4af56bc4910c6b2b..6a1136602e0b25929666febe78fbd30ed12d6db5 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 |
@@ -50,8 +50,8 @@ class AudioEncoderCng final : public AudioEncoder { |
int NumChannels() const override; |
size_t MaxEncodedBytes() const override; |
int RtpTimestampRateHz() const override; |
- int Num10MsFramesInNextPacket() const override; |
- int Max10MsFramesInAPacket() const override; |
+ size_t Num10MsFramesInNextPacket() const override; |
+ size_t Max10MsFramesInAPacket() const override; |
int GetTargetBitrate() const override; |
void SetTargetBitrate(int bits_per_second) override; |
void SetProjectedPacketLossRate(double fraction) override; |
@@ -67,10 +67,10 @@ class AudioEncoderCng final : public AudioEncoder { |
inline void operator()(CNG_enc_inst* ptr) const { WebRtcCng_FreeEnc(ptr); } |
}; |
- EncodedInfo EncodePassive(int frames_to_encode, |
+ EncodedInfo EncodePassive(size_t frames_to_encode, |
size_t max_encoded_bytes, |
uint8_t* encoded); |
- EncodedInfo EncodeActive(int frames_to_encode, |
+ EncodedInfo EncodeActive(size_t frames_to_encode, |
size_t max_encoded_bytes, |
uint8_t* encoded); |
size_t SamplesPer10msFrame() const; |