From b6fb28de1a895169512048915afc89636e85a9c6 Mon Sep 17 00:00:00 2001 From: Chris Robinson Date: Thu, 25 Nov 2010 22:04:17 -0800 Subject: [PATCH] Pass a pointer to the samplers so they can read just the samples they need --- Alc/mixer.c | 115 +++++++++++++++++++++++----------------------------- 1 file changed, 51 insertions(+), 64 deletions(-) diff --git a/Alc/mixer.c b/Alc/mixer.c index 3c76cd40..848e9c9c 100644 --- a/Alc/mixer.c +++ b/Alc/mixer.c @@ -37,27 +37,26 @@ #include "bs2b.h" -static __inline ALdouble point(ALdouble val1, ALdouble val2, ALint frac) -{ - return val1; - (void)val2; - (void)frac; -} static __inline ALdouble lerp(ALdouble val1, ALdouble val2, ALint frac) { val1 += ((val2-val1) * (frac * (1.0/(1<