From 5c70e6b9abb65d31f68cf87cecd656af42ba0465 Mon Sep 17 00:00:00 2001 From: Chris Robinson Date: Sat, 13 Oct 2012 11:10:58 -0700 Subject: Don't add the dry gain to the mixing matrix --- Alc/ALu.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Alc') diff --git a/Alc/ALu.c b/Alc/ALu.c index 99c33878..b7209172 100644 --- a/Alc/ALu.c +++ b/Alc/ALu.c @@ -352,7 +352,7 @@ ALvoid CalcNonAttnSourceParams(ALsource *ALSource, const ALCcontext *ALContext) enum Channel chan = Device->Speaker2Chan[i]; if(chan == chans[c].channel) { - SrcMatrix[c][chan] += DryGain; + SrcMatrix[c][chan] = DryGain; break; } } -- cgit v1.2.3