From f1f9a1417206e6097005c6088b65d56cb4e15429 Mon Sep 17 00:00:00 2001 From: Chris Robinson Date: Sat, 28 Mar 2020 15:37:34 -0700 Subject: Avoid AL[C]boolean for internal use --- al/effect.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'al/effect.h') diff --git a/al/effect.h b/al/effect.h index 25225396..74858dc7 100644 --- a/al/effect.h +++ b/al/effect.h @@ -25,7 +25,7 @@ enum { MAX_EFFECTS }; -extern ALboolean DisabledEffects[MAX_EFFECTS]; +extern bool DisabledEffects[MAX_EFFECTS]; extern ALfloat ReverbBoost; @@ -51,7 +51,7 @@ struct ALeffect { DISABLE_ALLOC() }; -inline ALboolean IsReverbEffect(ALenum type) +inline bool IsReverbEffect(const ALenum type) noexcept { return type == AL_EFFECT_REVERB || type == AL_EFFECT_EAXREVERB; } EffectStateFactory *getFactoryByType(ALenum type); -- cgit v1.2.3