diff options
author | Chris Robinson <[email protected]> | 2020-03-28 15:37:34 -0700 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2020-03-28 18:15:05 -0700 |
commit | f1f9a1417206e6097005c6088b65d56cb4e15429 (patch) | |
tree | 5ca1ad3fc79bfb1789ff0d0d9a28a2cebca845ef /al/effect.h | |
parent | 504745abec35c4718833cd7c7ed8db3b242e0aa2 (diff) |
Avoid AL[C]boolean for internal use
Diffstat (limited to 'al/effect.h')
-rw-r--r-- | al/effect.h | 4 |
1 files changed, 2 insertions, 2 deletions
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); |