diff options
author | Chris Robinson <[email protected]> | 2010-09-23 13:49:21 -0700 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2010-09-23 13:49:21 -0700 |
commit | 0f2ed8c84dcf9cf2140dec99e37721f513127def (patch) | |
tree | 74113cbaf18b5b6bb7cc3d29d2a21dc25874d8e3 /Alc/mixer.c | |
parent | 8d67cdfaab1701738659a64874f4bef1b3034c8e (diff) |
Be consistent with a variable's use
Diffstat (limited to 'Alc/mixer.c')
-rw-r--r-- | Alc/mixer.c | 6 |
1 files changed, 3 insertions, 3 deletions
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; \ |