aboutsummaryrefslogtreecommitdiffstats
path: root/Alc/ALu.c
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2007-12-21 10:52:26 -0800
committerChris Robinson <[email protected]>2007-12-21 10:52:26 -0800
commitd43486f894635f17a154dce29d85ed4423d1a79c (patch)
treeb6bb53d49ce7958d93f2391ec74dc2b71150fec9 /Alc/ALu.c
parent229bc0d7e14f2671b420ea995101fc38523285d2 (diff)
Fix extrenuous comment
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: