aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2012-10-13 11:10:58 -0700
committerChris Robinson <[email protected]>2012-10-13 11:10:58 -0700
commit5c70e6b9abb65d31f68cf87cecd656af42ba0465 (patch)
tree9ef837ffcb33e11346237e49ec3e99b3d6f13b23
parent9bd3b88a58ebcd1a3546cc1baadc3472f34b2569 (diff)
Don't add the dry gain to the mixing matrix
-rw-r--r--Alc/ALu.c2
1 files changed, 1 insertions, 1 deletions
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;
}
}