| Index: webrtc/modules/audio_processing/intelligibility/test/intelligibility_proc.cc
|
| diff --git a/webrtc/modules/audio_processing/intelligibility/test/intelligibility_proc.cc b/webrtc/modules/audio_processing/intelligibility/test/intelligibility_proc.cc
|
| index cef41e964a6c0274ac7b41d4bd4a543650a581f3..ad40c8b3c5fe9653081fb30992839c3e1ed85d14 100644
|
| --- a/webrtc/modules/audio_processing/intelligibility/test/intelligibility_proc.cc
|
| +++ b/webrtc/modules/audio_processing/intelligibility/test/intelligibility_proc.cc
|
| @@ -68,7 +68,7 @@ DEFINE_string(out_file,
|
| "play through aplay immediately.");
|
|
|
| // Constant IntelligibilityEnhancer constructor parameters.
|
| -const int kErbResolution = 2;
|
| +const size_t kErbResolution = 2;
|
| const int kNumChannels = 1;
|
|
|
| // void function for gtest
|
| @@ -111,8 +111,9 @@ void void_main(int argc, char* argv[]) {
|
|
|
| IntelligibilityEnhancer enh(
|
| kErbResolution, FLAGS_sample_rate, kNumChannels, FLAGS_clear_type,
|
| - static_cast<float>(FLAGS_clear_alpha), FLAGS_clear_window, FLAGS_ana_rate,
|
| - FLAGS_var_rate, FLAGS_gain_limit);
|
| + static_cast<float>(FLAGS_clear_alpha),
|
| + static_cast<size_t>(FLAGS_clear_window), FLAGS_ana_rate, FLAGS_var_rate,
|
| + FLAGS_gain_limit);
|
|
|
| // Slice the input into smaller chunks, as the APM would do, and feed them
|
| // through the enhancer.
|
|
|