From 07346da740302fa0db8f756652e992f18f689f56 Mon Sep 17 00:00:00 2001 From: Chris Robinson Date: Sat, 6 Nov 2010 14:27:33 -0700 Subject: Use the number of sends the device is configured for in more places --- Alc/mixer.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'Alc/mixer.c') diff --git a/Alc/mixer.c b/Alc/mixer.c index 4c7fff32..6cc92837 100644 --- a/Alc/mixer.c +++ b/Alc/mixer.c @@ -174,7 +174,7 @@ static __inline ALfloat cos_lerp16(ALfloat val1, ALfloat val2, ALint frac) PendingClicks[BACK_CENTER] += value*DrySend[BACK_CENTER]; \ } \ \ - for(out = 0;out < MAX_SENDS;out++) \ + for(out = 0;out < Device->NumAuxSends;out++) \ { \ ALfloat WetSend; \ ALfloat *WetBuffer; \ @@ -315,7 +315,7 @@ static __inline ALfloat cos_lerp16(ALfloat val1, ALfloat val2, ALint frac) } \ } \ \ - for(out = 0;out < MAX_SENDS;out++) \ + for(out = 0;out < Device->NumAuxSends;out++) \ { \ ALfloat WetSend; \ ALfloat *WetBuffer; \ @@ -460,7 +460,7 @@ static __inline ALfloat cos_lerp16(ALfloat val1, ALfloat val2, ALint frac) } \ } \ \ - for(out = 0;out < MAX_SENDS;out++) \ + for(out = 0;out < Device->NumAuxSends;out++) \ { \ ALfloat WetSend; \ ALfloat *WetBuffer; \ -- cgit v1.2.3