aboutsummaryrefslogtreecommitdiffstats
path: root/Alc/ALu.c
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2009-05-29 13:50:58 -0700
committerChris Robinson <[email protected]>2009-05-29 13:50:58 -0700
commit2a21a449b4828a08780e44d17586de4ba2119f0a (patch)
treebf0d2b6793dce99848ec0487d16c9c2af9758970 /Alc/ALu.c
parent74dc7090fdf4084fae1824986e382fde4535ae7c (diff)
Slot gain changes should have an immediate effect
Diffstat (limited to 'Alc/ALu.c')
-rw-r--r--Alc/ALu.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Alc/ALu.c b/Alc/ALu.c
index d71a511f..afc35aaf 100644
--- a/Alc/ALu.c
+++ b/Alc/ALu.c
@@ -749,7 +749,7 @@ static ALvoid CalcSourceParams(const ALCcontext *ALContext,
wetgainhf[i] *= ALSource->Send[i].WetFilter.GainHF;
break;
}
- wetsend[i] *= ListenerGain;
+ wetsend[i] *= ALSource->Send[i].Slot->Gain * ListenerGain;
}
else
{