aboutsummaryrefslogtreecommitdiffstats
path: root/Alc/effects/chorus.cpp
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2019-07-04 15:02:12 -0700
committerChris Robinson <[email protected]>2019-07-04 15:02:12 -0700
commit3fe5ef272f436db82beeeee3ad123029e4d219b6 (patch)
treed7f79f3e99ec15bc8474050c922f227e888f24bd /Alc/effects/chorus.cpp
parent729ffe02d6ab05dc8c62e8332ef1878bbfbdf756 (diff)
Use a span for MixParams
Diffstat (limited to 'Alc/effects/chorus.cpp')
-rw-r--r--Alc/effects/chorus.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Alc/effects/chorus.cpp b/Alc/effects/chorus.cpp
index b77c3439..a2a34008 100644
--- a/Alc/effects/chorus.cpp
+++ b/Alc/effects/chorus.cpp
@@ -159,7 +159,7 @@ void ChorusState::update(const ALCcontext *Context, const ALeffectslot *Slot, co
CalcDirectionCoeffs({-1.0f, 0.0f, 0.0f}, 0.0f, coeffs[0]);
CalcDirectionCoeffs({ 1.0f, 0.0f, 0.0f}, 0.0f, coeffs[1]);
- mOutTarget = {target.Main->Buffer, target.Main->NumChannels};
+ mOutTarget = target.Main->Buffer;
ComputePanGains(target.Main, coeffs[0], Slot->Params.Gain, mGains[0].Target);
ComputePanGains(target.Main, coeffs[1], Slot->Params.Gain, mGains[1].Target);