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/ALu.c | |
parent | 8f2bbc434c91b5d402de0e44b862a272928667a9 (diff) |
Remove the fastf2u conversion function
Diffstat (limited to 'Alc/ALu.c')
-rw-r--r-- | Alc/ALu.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -231,7 +231,7 @@ ALboolean BsincPrepare(const ALuint increment, BsincState *state) { 24, 24, 24, 24, 24, 24, 24, 20, 20, 20, 16, 16, 16, 12, 12, 0 } }; ALfloat sf; - ALuint si, pi; + ALsizei si, pi; ALboolean uncut = AL_TRUE; if(increment > FRACTIONONE) @@ -249,7 +249,7 @@ ALboolean BsincPrepare(const ALuint increment, BsincState *state) else { sf = (BSINC_SCALE_COUNT - 1) * (sf - scaleBase) * scaleRange; - si = fastf2u(sf); + si = fastf2i(sf); /* The interpolation factor is fit to this diagonally-symmetric * curve to reduce the transition ripple caused by interpolating * different scales of the sinc function. |