Index: webrtc/modules/audio_processing/intelligibility/intelligibility_enhancer.h |
diff --git a/webrtc/modules/audio_processing/intelligibility/intelligibility_enhancer.h b/webrtc/modules/audio_processing/intelligibility/intelligibility_enhancer.h |
index a858d3c67f11b5ceec9d503d88ff0103a0ced574..fa23350668b24737503a8f9cdaf5e9a5dcd4f50d 100644 |
--- a/webrtc/modules/audio_processing/intelligibility/intelligibility_enhancer.h |
+++ b/webrtc/modules/audio_processing/intelligibility/intelligibility_enhancer.h |
@@ -45,7 +45,7 @@ class IntelligibilityEnhancer { |
// constants in the class (kGainChangeLimit, kAnalyzeRate, kVarianceRate). |
IntelligibilityEnhancer(size_t erb_resolution, |
int sample_rate_hz, |
- int channels, |
+ size_t channels, |
int cv_type, |
float cv_alpha, |
size_t cv_win, |
@@ -74,9 +74,9 @@ class IntelligibilityEnhancer { |
// All in frequency domain, receives input |in_block|, applies |
// intelligibility enhancement, and writes result to |out_block|. |
void ProcessAudioBlock(const std::complex<float>* const* in_block, |
- int in_channels, |
+ size_t in_channels, |
size_t frames, |
- int out_channels, |
+ size_t out_channels, |
std::complex<float>* const* out_block) override; |
private: |
@@ -133,7 +133,7 @@ class IntelligibilityEnhancer { |
const size_t bank_size_; // Num ERB filters. |
const int sample_rate_hz_; |
const int erb_resolution_; |
- const int channels_; // Num channels. |
+ const size_t channels_; // Num channels. |
const int analysis_rate_; // Num blocks before gains recalculated. |
const int variance_rate_; // Num recalculations before history is cleared. |