From 5f50d085adbf20dfa07800715762c498a5c87459 Mon Sep 17 00:00:00 2001 From: Chris Robinson Date: Fri, 18 Aug 2017 19:20:30 -0700 Subject: Pass the filter entry to apply to resample_fir4 --- Alc/ALu.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'Alc/ALu.c') diff --git a/Alc/ALu.c b/Alc/ALu.c index 6f0f602c..6c37df78 100644 --- a/Alc/ALu.c +++ b/Alc/ALu.c @@ -69,9 +69,8 @@ extern inline ALuint64 maxu64(ALuint64 a, ALuint64 b); extern inline ALuint64 clampu64(ALuint64 val, ALuint64 min, ALuint64 max); extern inline ALfloat lerp(ALfloat val1, ALfloat val2, ALfloat mu); -extern inline ALfloat resample_fir4(const ALfloat (*restrict filter)[4], - ALfloat val0, ALfloat val1, ALfloat val2, ALfloat val3, - ALsizei frac); +extern inline ALfloat resample_fir4(ALfloat val0, ALfloat val1, ALfloat val2, ALfloat val3, + const ALfloat *restrict filter); extern inline void aluVectorSet(aluVector *restrict vector, ALfloat x, ALfloat y, ALfloat z, ALfloat w); -- cgit v1.2.3