| 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 e196e29436e4ee6c7e28b98797e8653662f3be54..43be0138df988e2f953a029823df142bc85c3d68 100644
|
| --- a/webrtc/modules/audio_processing/intelligibility/test/intelligibility_proc.cc
|
| +++ b/webrtc/modules/audio_processing/intelligibility/test/intelligibility_proc.cc
|
| @@ -37,9 +37,11 @@ void void_main(int argc, char* argv[]) {
|
| WavReader noise_file(FLAGS_noise_file);
|
| WavWriter out_file(FLAGS_out_file, in_file.sample_rate(),
|
| in_file.num_channels());
|
| - IntelligibilityEnhancer enh(in_file.sample_rate(), in_file.num_channels());
|
| rtc::CriticalSection crit;
|
| NoiseSuppressionImpl ns(&crit);
|
| + IntelligibilityEnhancer enh(in_file.sample_rate(),
|
| + in_file.num_channels(),
|
| + ns.num_noise_bins());
|
| ns.Initialize(noise_file.num_channels(), noise_file.sample_rate());
|
| ns.Enable(true);
|
| const size_t in_samples = noise_file.sample_rate() / 100;
|
|
|