aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2015-12-12 12:56:59 -0800
committerChris Robinson <[email protected]>2015-12-12 13:53:17 -0800
commitbce20d1f6be43dcf3a5be0ec97b35cbe335844e7 (patch)
tree03aef22dc7559dd880d53a441806ab3072abe5cf
parentabd568f9d8bc7200da6b3f7cb1ab0d2d2fbc660b (diff)
Don't overwrite the output with the dedicated effect
-rw-r--r--Alc/effects/dedicated.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Alc/effects/dedicated.c b/Alc/effects/dedicated.c
index e09cc682..dc581ace 100644
--- a/Alc/effects/dedicated.c
+++ b/Alc/effects/dedicated.c
@@ -86,7 +86,7 @@ static ALvoid ALdedicatedState_process(ALdedicatedState *state, ALuint SamplesTo
continue;
for(i = 0;i < SamplesToDo;i++)
- SamplesOut[c][i] = SamplesIn[i] * gains[c];
+ SamplesOut[c][i] += SamplesIn[i] * gains[c];
}
}