aboutsummaryrefslogtreecommitdiffstats
path: root/Alc/alu.cpp
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2019-06-05 19:58:58 -0700
committerChris Robinson <[email protected]>2019-06-05 19:58:58 -0700
commitf9da06fc6a265e3ab2f548a9533b222e7a183637 (patch)
treed430e2bdf5d4a20f8f4a29efda8901d861417d01 /Alc/alu.cpp
parent1ce310c6d1719c6f71664385e136b5510602ac21 (diff)
Use a span for the effect state's output target
Diffstat (limited to 'Alc/alu.cpp')
-rw-r--r--Alc/alu.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Alc/alu.cpp b/Alc/alu.cpp
index eed4ddc3..fc8b14d8 100644
--- a/Alc/alu.cpp
+++ b/Alc/alu.cpp
@@ -1455,7 +1455,7 @@ void ProcessContext(ALCcontext *ctx, const ALsizei SamplesToDo)
{
EffectState *state{slot->Params.mEffectState};
state->process(SamplesToDo, slot->Wet.Buffer, slot->Wet.NumChannels,
- {state->mOutBuffer, state->mOutChannels});
+ state->mOutTarget);
}
);
}