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..b459c39b692c0836d6ff3a0b1964c61f85774d3f 100644 |
--- a/webrtc/modules/audio_processing/intelligibility/test/intelligibility_proc.cc |
+++ b/webrtc/modules/audio_processing/intelligibility/test/intelligibility_proc.cc |
@@ -37,9 +37,10 @@ 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(), |
+ NoiseSuppressionImpl::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; |