aboutsummaryrefslogtreecommitdiffstats
path: root/Alc/effects/reverb.c
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2016-09-11 17:11:19 -0700
committerChris Robinson <[email protected]>2016-09-11 17:11:19 -0700
commitefaa09dc23066ec288f48b2a0479eb9c988404ee (patch)
tree73c1eb972cd8839c7bfab9e77faed0336000b84e /Alc/effects/reverb.c
parent651715abc96dd2925486507f8197a18a5f2f11e3 (diff)
Write to the correct outputs for extra reverb channels
Diffstat (limited to 'Alc/effects/reverb.c')
-rw-r--r--Alc/effects/reverb.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/Alc/effects/reverb.c b/Alc/effects/reverb.c
index 7068e077..071f4fc3 100644
--- a/Alc/effects/reverb.c
+++ b/Alc/effects/reverb.c
@@ -1461,7 +1461,7 @@ static ALvoid ALreverbState_processStandard(ALreverbState *State, ALuint Samples
State->Early.CurrentGain[c], delta, base, SamplesToDo-base, todo
);
if(State->ExtraChannels > 0)
- DoMix(early[c], SamplesOut, State->ExtraChannels,
+ DoMix(early[c], State->ExtraOut, State->ExtraChannels,
State->Early.PanGain[c]+NumChannels,
State->Early.CurrentGain[c]+NumChannels, delta, base,
SamplesToDo-base, todo
@@ -1473,7 +1473,7 @@ static ALvoid ALreverbState_processStandard(ALreverbState *State, ALuint Samples
State->Late.CurrentGain[c], delta, base, SamplesToDo, todo
);
if(State->ExtraChannels > 0)
- DoMix(late[c], SamplesOut, State->ExtraChannels,
+ DoMix(late[c], State->ExtraOut, State->ExtraChannels,
State->Late.PanGain[c]+NumChannels,
State->Late.CurrentGain[c]+NumChannels, delta, base,
SamplesToDo-base, todo