Index: webrtc/modules/audio_processing/intelligibility/intelligibility_enhancer.cc |
diff --git a/webrtc/modules/audio_processing/intelligibility/intelligibility_enhancer.cc b/webrtc/modules/audio_processing/intelligibility/intelligibility_enhancer.cc |
index e4a8139c4c5d7fcd6c6415c948f6d7f15cbb5c28..dbb7e638b2d063c52e876ec53df090893e2d4d4c 100644 |
--- a/webrtc/modules/audio_processing/intelligibility/intelligibility_enhancer.cc |
+++ b/webrtc/modules/audio_processing/intelligibility/intelligibility_enhancer.cc |
@@ -31,7 +31,6 @@ namespace webrtc { |
namespace { |
-const int kErbResolution = 2; |
const int kWindowSizeMs = 2; |
const int kChunkSizeMs = 10; // Size provided by APM. |
const float kClipFreq = 200.0f; |
@@ -132,7 +131,7 @@ IntelligibilityEnhancer::IntelligibilityEnhancer(int erb_resolution, |
float freqs_khz = kClipFreq / 1000.0f; |
int erb_index = static_cast<int>(ceilf( |
11.17f * logf((freqs_khz + 0.312f) / (freqs_khz + 14.6575f)) + 43.0f)); |
- start_freq_ = max(1, erb_index * kErbResolution); |
+ start_freq_ = std::max(1, erb_index * erb_resolution); |
WindowGenerator::KaiserBesselDerived(kKbdAlpha, window_size_, |
kbd_window_.get()); |