From efaa09dc23066ec288f48b2a0479eb9c988404ee Mon Sep 17 00:00:00 2001 From: Chris Robinson Date: Sun, 11 Sep 2016 17:11:19 -0700 Subject: Write to the correct outputs for extra reverb channels --- Alc/effects/reverb.c | 4 ++-- 1 file 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 -- cgit v1.2.3