Index: webrtc/common_audio/resampler/include/push_resampler.h |
diff --git a/webrtc/common_audio/resampler/include/push_resampler.h b/webrtc/common_audio/resampler/include/push_resampler.h |
index b5c0003615de1e5b6f7e7d8805c09c8896425577..eeda79049707e00600a0ad1d9361834e2f6f738d 100644 |
--- a/webrtc/common_audio/resampler/include/push_resampler.h |
+++ b/webrtc/common_audio/resampler/include/push_resampler.h |
@@ -29,7 +29,7 @@ class PushResampler { |
// Must be called whenever the parameters change. Free to be called at any |
// time as it is a no-op if parameters have not changed since the last call. |
int InitializeIfNeeded(int src_sample_rate_hz, int dst_sample_rate_hz, |
- int num_channels); |
+ size_t num_channels); |
// Returns the total number of samples provided in destination (e.g. 32 kHz, |
// 2 channel audio gives 640 samples). |
@@ -40,7 +40,7 @@ class PushResampler { |
rtc::scoped_ptr<PushSincResampler> sinc_resampler_right_; |
int src_sample_rate_hz_; |
int dst_sample_rate_hz_; |
- int num_channels_; |
+ size_t num_channels_; |
rtc::scoped_ptr<T[]> src_left_; |
rtc::scoped_ptr<T[]> src_right_; |
rtc::scoped_ptr<T[]> dst_left_; |