aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2020-03-22 08:51:59 -0700
committerChris Robinson <[email protected]>2020-03-22 08:51:59 -0700
commit002d0eb6a05e7ff4cb10f60304033a9915a7ac1d (patch)
treed2c3a64adf8c88d22eb5b36e9c37f92d07b0f183
parent9ce182228d8be25130f3f18b2d999a9612fb18f9 (diff)
Fix the frequency shifter channel panning
-rw-r--r--alc/effects/fshifter.cpp4
1 files changed, 2 insertions, 2 deletions
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);