From 0f2ed8c84dcf9cf2140dec99e37721f513127def Mon Sep 17 00:00:00 2001 From: Chris Robinson Date: Thu, 23 Sep 2010 13:49:21 -0700 Subject: Be consistent with a variable's use --- Alc/mixer.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'Alc') diff --git a/Alc/mixer.c b/Alc/mixer.c index 781fec82..11365e63 100644 --- a/Alc/mixer.c +++ b/Alc/mixer.c @@ -135,10 +135,10 @@ static __inline ALfloat cos_lerp16(ALfloat val1, ALfloat val2, ALint frac) DryBuffer[j][BACK_CENTER] += outsamp*DrySend[BACK_CENTER]; \ \ /* Room path final mix buffer and panning */ \ - for(i = 0;i < MAX_SENDS;i++) \ + for(out = 0;out < MAX_SENDS;out++) \ { \ - outsamp = lpFilter2P(WetFilter[i], 0, value); \ - WetBuffer[i][j] += outsamp*WetSend[i]; \ + outsamp = lpFilter2P(WetFilter[out], 0, value); \ + WetBuffer[out][j] += outsamp*WetSend[out]; \ } \ \ DataPosFrac += increment; \ -- cgit v1.2.3