aboutsummaryrefslogtreecommitdiffstats
path: root/Alc/effects/reverb.cpp
diff options
context:
space:
mode:
authorChris Robinson <chris.kcat@gmail.com>2019-07-04 15:02:12 -0700
committerChris Robinson <chris.kcat@gmail.com>2019-07-04 15:02:12 -0700
commit3fe5ef272f436db82beeeee3ad123029e4d219b6 (patch)
treed7f79f3e99ec15bc8474050c922f227e888f24bd /Alc/effects/reverb.cpp
parent729ffe02d6ab05dc8c62e8332ef1878bbfbdf756 (diff)
Use a span for MixParams
Diffstat (limited to 'Alc/effects/reverb.cpp')
-rw-r--r--Alc/effects/reverb.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Alc/effects/reverb.cpp b/Alc/effects/reverb.cpp
index da8be835..01f5c476 100644
--- a/Alc/effects/reverb.cpp
+++ b/Alc/effects/reverb.cpp
@@ -889,7 +889,7 @@ void ReverbState::update3DPanning(const ALfloat *ReflectionsPan, const ALfloat *
const alu::Matrix earlymat{GetTransformFromVector(ReflectionsPan)};
const alu::Matrix latemat{GetTransformFromVector(LateReverbPan)};
- mOutTarget = {target.Main->Buffer, target.Main->NumChannels};
+ mOutTarget = target.Main->Buffer;
for(ALsizei i{0};i < NUM_LINES;i++)
{
const ALfloat coeffs[MAX_AMBI_CHANNELS]{earlymat[0][i], earlymat[1][i], earlymat[2][i],