Index: talk/media/webrtc/webrtcvoiceengine.cc |
diff --git a/talk/media/webrtc/webrtcvoiceengine.cc b/talk/media/webrtc/webrtcvoiceengine.cc |
index c0f3404328a694dcc7a8d7939c387bc86268c0bd..d6ed1947aa7b10d635fac43c2d6998acd3d09927 100644 |
--- a/talk/media/webrtc/webrtcvoiceengine.cc |
+++ b/talk/media/webrtc/webrtcvoiceengine.cc |
@@ -64,7 +64,7 @@ static const int kMaxNumPacketSize = 6; |
struct CodecPref { |
const char* name; |
int clockrate; |
- int channels; |
+ size_t channels; |
int payload_type; |
bool is_multi_rate; |
int packet_sizes_ms[kMaxNumPacketSize]; |
@@ -1664,7 +1664,7 @@ class WebRtcVoiceMediaChannel::WebRtcVoiceChannelRenderer |
void OnData(const void* audio_data, |
int bits_per_sample, |
int sample_rate, |
- int number_of_channels, |
+ size_t number_of_channels, |
size_t number_of_frames) override { |
voe_audio_transport_->OnData(channel_, |
audio_data, |