aboutsummaryrefslogtreecommitdiff
path: root/webrtc/modules/audio_coding/acm2/acm_receiver.h
diff options
context:
space:
mode:
Diffstat (limited to 'webrtc/modules/audio_coding/acm2/acm_receiver.h')
-rw-r--r--webrtc/modules/audio_coding/acm2/acm_receiver.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/webrtc/modules/audio_coding/acm2/acm_receiver.h b/webrtc/modules/audio_coding/acm2/acm_receiver.h
index 86fd927c8a..b150612f69 100644
--- a/webrtc/modules/audio_coding/acm2/acm_receiver.h
+++ b/webrtc/modules/audio_coding/acm2/acm_receiver.h
@@ -44,7 +44,7 @@ class AcmReceiver {
uint8_t payload_type;
// This field is meaningful for codecs where both mono and
// stereo versions are registered under the same ID.
- int channels;
+ size_t channels;
int sample_rate_hz;
};
@@ -116,7 +116,7 @@ class AcmReceiver {
//
int AddCodec(int acm_codec_id,
uint8_t payload_type,
- int channels,
+ size_t channels,
int sample_rate_hz,
AudioDecoder* audio_decoder,
const std::string& name);