From 3fe5ef272f436db82beeeee3ad123029e4d219b6 Mon Sep 17 00:00:00 2001 From: Chris Robinson Date: Thu, 4 Jul 2019 15:02:12 -0700 Subject: Use a span for MixParams --- Alc/effects/fshifter.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Alc/effects/fshifter.cpp') diff --git a/Alc/effects/fshifter.cpp b/Alc/effects/fshifter.cpp index 0bbcc859..6378db89 100644 --- a/Alc/effects/fshifter.cpp +++ b/Alc/effects/fshifter.cpp @@ -133,7 +133,7 @@ void FshifterState::update(const ALCcontext *context, const ALeffectslot *slot, ALfloat coeffs[MAX_AMBI_CHANNELS]; CalcDirectionCoeffs({0.0f, 0.0f, -1.0f}, 0.0f, coeffs); - mOutTarget = {target.Main->Buffer, target.Main->NumChannels}; + mOutTarget = target.Main->Buffer; ComputePanGains(target.Main, coeffs, slot->Params.Gain, mTargetGains); } -- cgit v1.2.3