diff options
author | Chris Robinson <[email protected]> | 2017-06-27 07:25:08 -0700 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2017-06-27 07:25:08 -0700 |
commit | e9a7218a06e268afcedf8207e5a5d79991e21356 (patch) | |
tree | 987d2bbf3f1c80d9ebe0247b4205e644d5db7caa /Alc/mastering.c | |
parent | 8f2bbc434c91b5d402de0e44b862a272928667a9 (diff) |
Remove the fastf2u conversion function
Diffstat (limited to 'Alc/mastering.c')
-rw-r--r-- | Alc/mastering.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Alc/mastering.c b/Alc/mastering.c index c9f5bebd..9de5fd5f 100644 --- a/Alc/mastering.c +++ b/Alc/mastering.c @@ -89,7 +89,7 @@ static void RmsDetection(Compressor *Comp, const ALsizei SamplesToDo) ALfloat sig = Comp->Envelope[i]; sum -= window[index]; - window[index] = fastf2u(minf(sig * sig * 65536.0f, RMS_VALUE_MAX)); + window[index] = fastf2i(minf(sig * sig * 65536.0f, RMS_VALUE_MAX)); sum += window[index]; index = (index + 1) & RMS_WINDOW_MASK; |