diff options
author | Chris Robinson <[email protected]> | 2019-05-20 21:16:13 -0700 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2019-05-20 21:16:13 -0700 |
commit | 6dbd488d13d455f4538595cb5b30788048a6d20a (patch) | |
tree | 66104786541599ccbbcbe757a7195ae8efaaf980 /Alc/effects/pshifter.cpp | |
parent | 136caf0cb097943aa4d06aba8205fe6cd90de4b7 (diff) |
Avoid unnecessary use of CalcAngleCoeffs
Diffstat (limited to 'Alc/effects/pshifter.cpp')
-rw-r--r-- | Alc/effects/pshifter.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Alc/effects/pshifter.cpp b/Alc/effects/pshifter.cpp index f95579d7..1d85fb9e 100644 --- a/Alc/effects/pshifter.cpp +++ b/Alc/effects/pshifter.cpp @@ -190,7 +190,7 @@ void PshifterState::update(const ALCcontext* UNUSED(context), const ALeffectslot mPitchShift = mPitchShiftI * (1.0f/FRACTIONONE); ALfloat coeffs[MAX_AMBI_CHANNELS]; - CalcAngleCoeffs(0.0f, 0.0f, 0.0f, coeffs); + CalcDirectionCoeffs({0.0f, 0.0f, -1.0f}, 0.0f, coeffs); mOutBuffer = target.Main->Buffer; mOutChannels = target.Main->NumChannels; |