| 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 38a7ea32cf5c92093229b983c4a51959ca117fa5..60aa9e0bd196aef8caf46baf9432635d4461e60f 100644
|
| --- a/webrtc/modules/audio_processing/intelligibility/intelligibility_enhancer.cc
|
| +++ b/webrtc/modules/audio_processing/intelligibility/intelligibility_enhancer.cc
|
| @@ -42,7 +42,7 @@ const float kRho = 0.0004f; // Default production and interpretation SNR.
|
| float DotProduct(const float* a, const float* b, size_t length) {
|
| float ret = 0.f;
|
| for (size_t i = 0; i < length; ++i) {
|
| - ret = fmaf(a[i], b[i], ret);
|
| + ret += a[i] * b[i];
|
| }
|
| return ret;
|
| }
|
| @@ -201,7 +201,7 @@ void IntelligibilityEnhancer::UpdateErbGains() {
|
| for (size_t i = 0; i < freqs_; ++i) {
|
| gains[i] = 0.f;
|
| for (size_t j = 0; j < bank_size_; ++j) {
|
| - gains[i] = fmaf(render_filter_bank_[j][i], gains_eq_[j], gains[i]);
|
| + gains[i] += render_filter_bank_[j][i] * gains_eq_[j];
|
| }
|
| }
|
| }
|
|
|