aboutsummaryrefslogtreecommitdiffstats
path: root/Alc/effects/reverb.c
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2016-09-13 16:55:39 -0700
committerChris Robinson <[email protected]>2016-09-13 16:55:39 -0700
commitbb48a7e520bedb8f5bc54c0322b5922279b10ffd (patch)
tree10d614c384ba825eb6b08fe8e179ef5713173b6c /Alc/effects/reverb.c
parentaf5fb3d6e73ac5e7f015011974c7a7443ae6744b (diff)
Fix EAX reverb effect output for HRTF and UHJ
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 071f4fc3..c9397b67 100644
--- a/Alc/effects/reverb.c
+++ b/Alc/effects/reverb.c
@@ -1504,7 +1504,7 @@ static ALvoid ALreverbState_processEax(ALreverbState *State, ALuint SamplesToDo,
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
@@ -1516,7 +1516,7 @@ static ALvoid ALreverbState_processEax(ALreverbState *State, ALuint SamplesToDo,
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