From 8a5153ce0dee072c283b04ff5a61faa764f81743 Mon Sep 17 00:00:00 2001 From: Chris Robinson Date: Wed, 8 Apr 2020 07:28:07 -0700 Subject: Avoid ALfloat and ALint in the effects --- alc/effects/fshifter.cpp | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) (limited to 'alc/effects/fshifter.cpp') diff --git a/alc/effects/fshifter.cpp b/alc/effects/fshifter.cpp index fb859e23..2d299e74 100644 --- a/alc/effects/fshifter.cpp +++ b/alc/effects/fshifter.cpp @@ -77,8 +77,8 @@ struct FshifterState final : public EffectState { /* Effect gains for each output channel */ struct { - ALfloat Current[MAX_OUTPUT_CHANNELS]{}; - ALfloat Target[MAX_OUTPUT_CHANNELS]{}; + float Current[MAX_OUTPUT_CHANNELS]{}; + float Target[MAX_OUTPUT_CHANNELS]{}; } mGains[2]; @@ -150,7 +150,7 @@ void FshifterState::update(const ALCcontext *context, const ALeffectslot *slot, break; } - ALfloat coeffs[2][MAX_AMBI_CHANNELS]; + float coeffs[2][MAX_AMBI_CHANNELS]; CalcDirectionCoeffs({-1.0f, 0.0f, 0.0f}, 0.0f, coeffs[0]); CalcDirectionCoeffs({ 1.0f, 0.0f, 0.0f}, 0.0f, coeffs[1]); @@ -198,7 +198,7 @@ void FshifterState::process(const size_t samplesToDo, const al::span