aboutsummaryrefslogtreecommitdiffstats
path: root/Alc/ALu.c
diff options
context:
space:
mode:
Diffstat (limited to 'Alc/ALu.c')
-rw-r--r--Alc/ALu.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/Alc/ALu.c b/Alc/ALu.c
index 2ae19ed3..fbf4dc0e 100644
--- a/Alc/ALu.c
+++ b/Alc/ALu.c
@@ -402,11 +402,9 @@ static ALvoid CalcSourceParams(ALCcontext *ALContext, ALsource *ALSource,
*drygainhf = DryGainHF;
*wetgainhf = WetGainHF;
- //7. Convert pannings into channel volumes
- WetMix *= ALSource->Send[0].Slot.Gain;
-
- //8. Convert normalized position into pannings, then into channel volumes
+ //7. Convert normalized position into pannings, then into channel volumes
aluNormalize(Position);
+ WetMix *= ALSource->Send[0].Slot.Gain;
switch(OutputFormat)
{
case AL_FORMAT_MONO8: