| Index: modules/audio_processing/intelligibility/intelligibility_utils.cc
|
| diff --git a/modules/audio_processing/intelligibility/intelligibility_utils.cc b/modules/audio_processing/intelligibility/intelligibility_utils.cc
|
| index d67d200689f1613391c18c138b55f504a18ffde4..0f9ff78a828b973a9f8690f847e369f34bc0fc84 100644
|
| --- a/modules/audio_processing/intelligibility/intelligibility_utils.cc
|
| +++ b/modules/audio_processing/intelligibility/intelligibility_utils.cc
|
| @@ -36,7 +36,7 @@ bool cplxfinite(complex<float> c) {
|
| }
|
|
|
| bool cplxnormal(complex<float> c) {
|
| - return std::isnormal(c.real()) && std::isnormal(c.imag());
|
| + return isnormal(c.real()) && isnormal(c.imag());
|
| }
|
|
|
| complex<float> zerofudge(complex<float> c) {
|
| @@ -321,7 +321,7 @@ void GainApplier::Apply(const complex<float>* in_block,
|
| complex<float>* out_block) {
|
| for (int i = 0; i < freqs_; ++i) {
|
| float factor = sqrtf(fabsf(current_[i]));
|
| - if (!std::isnormal(factor)) {
|
| + if (!isnormal(factor)) {
|
| factor = 1.0f;
|
| }
|
| out_block[i] = factor * in_block[i];
|
|
|