From 002d0eb6a05e7ff4cb10f60304033a9915a7ac1d Mon Sep 17 00:00:00 2001 From: Chris Robinson Date: Sun, 22 Mar 2020 08:51:59 -0700 Subject: Fix the frequency shifter channel panning --- alc/effects/fshifter.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'alc') diff --git a/alc/effects/fshifter.cpp b/alc/effects/fshifter.cpp index b375724b..f1423468 100644 --- a/alc/effects/fshifter.cpp +++ b/alc/effects/fshifter.cpp @@ -152,8 +152,8 @@ void FshifterState::update(const ALCcontext *context, const ALeffectslot *slot, } ALfloat coeffs[2][MAX_AMBI_CHANNELS]; - CalcDirectionCoeffs({-1.0f, 0.0f, -1.0f}, 0.0f, coeffs[0]); - CalcDirectionCoeffs({ 1.0f, 0.0f, -1.0f}, 0.0f, coeffs[1]); + 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; ComputePanGains(target.Main, coeffs[0], slot->Params.Gain, mGains[0].Target); -- cgit v1.2.3