diff options
author | Chris Robinson <[email protected]> | 2017-02-23 16:44:59 -0800 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2017-02-23 16:44:59 -0800 |
commit | c2a79f0f7b1d8f9a868e3411797005cefcebafa1 (patch) | |
tree | 3d133c8c88bfd1f87375b22afe3b2abee83e4ede /Alc/effects/chorus.c | |
parent | 08948079e93cbb7321be5715df36f54c5e6be3b7 (diff) |
Remove CalcXYZCoeffs and inline CalcAngleCoeffs
Diffstat (limited to 'Alc/effects/chorus.c')
-rw-r--r-- | Alc/effects/chorus.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Alc/effects/chorus.c b/Alc/effects/chorus.c index 63d0ca01..a44f9262 100644 --- a/Alc/effects/chorus.c +++ b/Alc/effects/chorus.c @@ -136,9 +136,9 @@ static ALvoid ALchorusState_update(ALchorusState *state, const ALCdevice *Device state->delay = fastf2i(props->Chorus.Delay * frequency); /* Gains for left and right sides */ - CalcXYZCoeffs(-1.0f, 0.0f, 0.0f, 0.0f, coeffs); + CalcAngleCoeffs(-F_PI_2, 0.0f, 0.0f, coeffs); ComputePanningGains(Device->Dry, coeffs, Slot->Params.Gain, state->Gain[0]); - CalcXYZCoeffs( 1.0f, 0.0f, 0.0f, 0.0f, coeffs); + CalcAngleCoeffs( F_PI_2, 0.0f, 0.0f, coeffs); ComputePanningGains(Device->Dry, coeffs, Slot->Params.Gain, state->Gain[1]); phase = props->Chorus.Phase; |