| Index: webrtc/modules/audio_processing/audio_processing_performance_unittest.cc
|
| diff --git a/webrtc/modules/audio_processing/audio_processing_performance_unittest.cc b/webrtc/modules/audio_processing/audio_processing_performance_unittest.cc
|
| index 5309a6a42fc0b1389b53856966ec8f80148c0c95..a29c96d6826038a1b65f5f67d2a077601bb0f336 100644
|
| --- a/webrtc/modules/audio_processing/audio_processing_performance_unittest.cc
|
| +++ b/webrtc/modules/audio_processing/audio_processing_performance_unittest.cc
|
| @@ -29,6 +29,14 @@
|
| #include "webrtc/system_wrappers/include/sleep.h"
|
| #include "webrtc/test/testsupport/perf_test.h"
|
|
|
| +// Check to verify that the define for the intelligibility enhancer is properly
|
| +// set.
|
| +#if !defined(WEBRTC_INTELLIGIBILITY_ENHANCER) || \
|
| + (WEBRTC_INTELLIGIBILITY_ENHANCER != 0 && \
|
| + WEBRTC_INTELLIGIBILITY_ENHANCER != 1)
|
| +#error "Set WEBRTC_INTELLIGIBILITY_ENHANCER to either 0 or 1"
|
| +#endif
|
| +
|
| namespace webrtc {
|
|
|
| namespace {
|
| @@ -96,6 +104,7 @@ struct SimulationConfig {
|
| }
|
| }
|
|
|
| +#if WEBRTC_INTELLIGIBILITY_ENHANCER == 1
|
| const SettingsType intelligibility_enhancer_settings[] = {
|
| SettingsType::kDefaultApmDesktopAndIntelligibilityEnhancer};
|
|
|
| @@ -107,6 +116,7 @@ struct SimulationConfig {
|
| simulation_configs.push_back(SimulationConfig(sample_rate, settings));
|
| }
|
| }
|
| +#endif
|
|
|
| const SettingsType beamformer_settings[] = {
|
| SettingsType::kDefaultApmDesktopAndBeamformer};
|
|
|