diff options
author | Chris Robinson <[email protected]> | 2019-07-04 15:02:12 -0700 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2019-07-04 15:02:12 -0700 |
commit | 3fe5ef272f436db82beeeee3ad123029e4d219b6 (patch) | |
tree | d7f79f3e99ec15bc8474050c922f227e888f24bd /Alc/effects/chorus.cpp | |
parent | 729ffe02d6ab05dc8c62e8332ef1878bbfbdf756 (diff) |
Use a span for MixParams
Diffstat (limited to 'Alc/effects/chorus.cpp')
-rw-r--r-- | Alc/effects/chorus.cpp | 2 |
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); |