aboutsummaryrefslogtreecommitdiffstats
path: root/Alc/ALu.c
diff options
context:
space:
mode:
Diffstat (limited to 'Alc/ALu.c')
-rw-r--r--Alc/ALu.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/Alc/ALu.c b/Alc/ALu.c
index 02dea031..18b420fc 100644
--- a/Alc/ALu.c
+++ b/Alc/ALu.c
@@ -327,8 +327,7 @@ ALvoid CalcNonAttnSourceParams(ALsource *ALSource, const ALCcontext *ALContext)
for(i = 0;i < NumSends;i++)
{
ALSource->Params.Send[i].Slot = ALSource->Send[i].Slot;
- ALSource->Params.Send[i].WetGain = WetGain[i] * ListenerGain /
- ALSource->NumChannels;
+ ALSource->Params.Send[i].WetGain = WetGain[i] * ListenerGain;
}
/* Update filter coefficients. Calculations based on the I3DL2