diff options
Diffstat (limited to 'webrtc/common_audio/resampler/include/push_resampler.h')
-rw-r--r-- | webrtc/common_audio/resampler/include/push_resampler.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/webrtc/common_audio/resampler/include/push_resampler.h b/webrtc/common_audio/resampler/include/push_resampler.h index b5c0003615..eeda790497 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_; |