diff options
author | Chris Robinson <[email protected]> | 2017-04-12 22:45:54 -0700 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2017-04-12 22:45:54 -0700 |
commit | 24c172bb96b8a1379e9d37c8c33dbbb7c94f8e61 (patch) | |
tree | f5b068ecc29c4cc65967c1c6cd17d39ae08e577e /OpenAL32/Include/alu.h | |
parent | 684823ebc4c65957d85b79f0d8ac8b2afe9160bb (diff) |
Use ALsizei for the fir4 resampler fraction
Diffstat (limited to 'OpenAL32/Include/alu.h')
-rw-r--r-- | OpenAL32/Include/alu.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/OpenAL32/Include/alu.h b/OpenAL32/Include/alu.h index 51c43d85..6c3f3499 100644 --- a/OpenAL32/Include/alu.h +++ b/OpenAL32/Include/alu.h @@ -295,7 +295,7 @@ inline ALfloat lerp(ALfloat val1, ALfloat val2, ALfloat mu) { return val1 + (val2-val1)*mu; } -inline ALfloat resample_fir4(ALfloat val0, ALfloat val1, ALfloat val2, ALfloat val3, ALuint frac) +inline ALfloat resample_fir4(ALfloat val0, ALfloat val1, ALfloat val2, ALfloat val3, ALsizei frac) { return sinc4Tab[frac][0]*val0 + sinc4Tab[frac][1]*val1 + sinc4Tab[frac][2]*val2 + sinc4Tab[frac][3]*val3; |