From 93b584ff8419f76d934e0a6e9cbc55cf907ea259 Mon Sep 17 00:00:00 2001 From: Chris Robinson Date: Mon, 11 Jan 2010 06:19:54 -0800 Subject: Add a cosine resampler --- Alc/ALu.c | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) (limited to 'Alc') diff --git a/Alc/ALu.c b/Alc/ALu.c index f9a9ff2e..fbac9db2 100644 --- a/Alc/ALu.c +++ b/Alc/ALu.c @@ -870,6 +870,11 @@ static __inline ALfloat lerp(ALfloat val1, ALfloat val2, ALint frac) { return val1 + ((val2-val1)*(frac * (1.0f/(1<