aboutsummaryrefslogtreecommitdiffstats
path: root/Alc/effects/reverb.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/effects/reverb.cpp
parent1ce310c6d1719c6f71664385e136b5510602ac21 (diff)
Use a span for the effect state's output target
Diffstat (limited to 'Alc/effects/reverb.cpp')
-rw-r--r--Alc/effects/reverb.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/Alc/effects/reverb.cpp b/Alc/effects/reverb.cpp
index 54151d6e..da8be835 100644
--- a/Alc/effects/reverb.cpp
+++ b/Alc/effects/reverb.cpp
@@ -888,8 +888,8 @@ void ReverbState::update3DPanning(const ALfloat *ReflectionsPan, const ALfloat *
*/
const alu::Matrix earlymat{GetTransformFromVector(ReflectionsPan)};
const alu::Matrix latemat{GetTransformFromVector(LateReverbPan)};
- mOutBuffer = target.Main->Buffer;
- mOutChannels = target.Main->NumChannels;
+
+ mOutTarget = {target.Main->Buffer, target.Main->NumChannels};
for(ALsizei i{0};i < NUM_LINES;i++)
{
const ALfloat coeffs[MAX_AMBI_CHANNELS]{earlymat[0][i], earlymat[1][i], earlymat[2][i],