diff options
author | Chris Robinson <[email protected]> | 2015-12-12 12:56:59 -0800 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2015-12-12 13:53:17 -0800 |
commit | bce20d1f6be43dcf3a5be0ec97b35cbe335844e7 (patch) | |
tree | 03aef22dc7559dd880d53a441806ab3072abe5cf /Alc/effects | |
parent | abd568f9d8bc7200da6b3f7cb1ab0d2d2fbc660b (diff) |
Don't overwrite the output with the dedicated effect
Diffstat (limited to 'Alc/effects')
-rw-r--r-- | Alc/effects/dedicated.c | 2 |
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]; } } |