summaryrefslogtreecommitdiffstats
path: root/Alc/mixer.c
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2010-11-24 10:01:50 -0800
committerChris Robinson <[email protected]>2010-11-24 10:01:50 -0800
commit6ab22e7cbbe7a1b24653b3e4677d01247a7030c2 (patch)
tree461a1edb263edc1e584d3c6120b4b47a32d852ec /Alc/mixer.c
parentbb13f7f23416bc2d12c2ac9ee7ab143aef01e970 (diff)
Reorder some stored source params
Diffstat (limited to 'Alc/mixer.c')
-rw-r--r--Alc/mixer.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/Alc/mixer.c b/Alc/mixer.c
index 7b525bec..35848a19 100644
--- a/Alc/mixer.c
+++ b/Alc/mixer.c
@@ -163,11 +163,11 @@ static __inline ALfloat cos_lerp16(ALfloat val1, ALfloat val2, ALint frac)
Source->Send[out].Slot->effect.type == AL_EFFECT_NULL) \
continue; \
\
- WetSend = Source->Params.WetGains[out]; \
WetBuffer = Source->Send[out].Slot->WetBuffer; \
WetClickRemoval = Source->Send[out].Slot->ClickRemoval; \
WetPendingClicks = Source->Send[out].Slot->PendingClicks; \
WetFilter = &Source->Params.Send[out].iirFilter; \
+ WetSend = Source->Params.Send[out].WetGain; \
\
pos = DataPosInt; \
frac = DataPosFrac; \
@@ -304,11 +304,11 @@ static __inline ALfloat cos_lerp16(ALfloat val1, ALfloat val2, ALint frac)
Source->Send[out].Slot->effect.type == AL_EFFECT_NULL) \
continue; \
\
- WetSend = Source->Params.WetGains[out]; \
WetBuffer = Source->Send[out].Slot->WetBuffer; \
WetClickRemoval = Source->Send[out].Slot->ClickRemoval; \
WetPendingClicks = Source->Send[out].Slot->PendingClicks; \
WetFilter = &Source->Params.Send[out].iirFilter; \
+ WetSend = Source->Params.Send[out].WetGain; \
\
pos = DataPosInt; \
frac = DataPosFrac; \
@@ -453,7 +453,7 @@ static __inline ALfloat cos_lerp16(ALfloat val1, ALfloat val2, ALint frac)
WetClickRemoval = Source->Send[out].Slot->ClickRemoval; \
WetPendingClicks = Source->Send[out].Slot->PendingClicks; \
WetFilter = &Source->Params.Send[out].iirFilter; \
- WetSend = Source->Params.WetGains[out]; \
+ WetSend = Source->Params.Send[out].WetGain; \
\
pos = DataPosInt; \
frac = DataPosFrac; \