| 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 f9d1c3c2734918e2cc06099856b1547e46398479..7ff2cf40429230d152d92e46184eaf85cb2329f5 100644
|
| --- a/webrtc/modules/audio_processing/intelligibility/intelligibility_enhancer.cc
|
| +++ b/webrtc/modules/audio_processing/intelligibility/intelligibility_enhancer.cc
|
| @@ -58,7 +58,7 @@ void MapToErbBands(const float* pow,
|
| const std::vector<std::vector<float>>& filter_bank,
|
| float* result) {
|
| for (size_t i = 0; i < filter_bank.size(); ++i) {
|
| - RTC_DCHECK_GT(filter_bank[i].size(), 0u);
|
| + RTC_DCHECK_GT(filter_bank[i].size(), 0);
|
| result[i] = kPowerNormalizationFactor *
|
| DotProduct(filter_bank[i].data(), pow, filter_bank[i].size());
|
| }
|
| @@ -380,7 +380,7 @@ bool IntelligibilityEnhancer::IsSpeech(const float* audio) {
|
| }
|
|
|
| void IntelligibilityEnhancer::DelayHighBands(AudioBuffer* audio) {
|
| - RTC_DCHECK_EQ(audio->num_bands(), high_bands_buffers_.size() + 1u);
|
| + RTC_DCHECK_EQ(audio->num_bands(), high_bands_buffers_.size() + 1);
|
| for (size_t i = 0u; i < high_bands_buffers_.size(); ++i) {
|
| Band band = static_cast<Band>(i + 1);
|
| high_bands_buffers_[i]->Delay(audio->split_channels_f(band), chunk_length_);
|
|
|