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/effects/chorus.c | |
parent | 8f2bbc434c91b5d402de0e44b862a272928667a9 (diff) |
Remove the fastf2u conversion function
Diffstat (limited to 'Alc/effects/chorus.c')
-rw-r--r-- | Alc/effects/chorus.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Alc/effects/chorus.c b/Alc/effects/chorus.c index 5ef82cb4..f4383aa5 100644 --- a/Alc/effects/chorus.c +++ b/Alc/effects/chorus.c @@ -91,7 +91,7 @@ static ALboolean ALchorusState_deviceUpdate(ALchorusState *state, ALCdevice *Dev ALsizei maxlen; ALsizei it; - maxlen = fastf2u(AL_CHORUS_MAX_DELAY * 2.0f * Device->Frequency) + 1; + maxlen = fastf2i(AL_CHORUS_MAX_DELAY * 2.0f * Device->Frequency) + 1; maxlen = NextPowerOf2(maxlen); if(maxlen != state->BufferLength) |