aboutsummaryrefslogtreecommitdiffstats
path: root/Alc
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2007-12-18 15:47:24 -0800
committerChris Robinson <[email protected]>2007-12-18 15:47:24 -0800
commit9adc20e4e727bb2a9829cf9c9a970358d094b951 (patch)
tree993de47a9a08ec5c777c72a77c1d47c1f975747f /Alc
parentbdf16bf601ed1cedc652af62029d4cbd91e90c09 (diff)
Implement AL_EFFECTSLOT_GAIN property
Diffstat (limited to 'Alc')
-rw-r--r--Alc/ALu.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/Alc/ALu.c b/Alc/ALu.c
index 061f87a1..170c7210 100644
--- a/Alc/ALu.c
+++ b/Alc/ALu.c
@@ -394,6 +394,7 @@ static ALvoid CalcSourceParams(ALCcontext *ALContext, ALsource *ALSource,
*wetgainhf = WetGainHF;
//8. Convert pannings into channel volumes
+ WetMix *= ALSource->Send[0].Slot.Gain;
switch(OutputFormat)
{
case AL_FORMAT_MONO8: