aboutsummaryrefslogtreecommitdiffstats
path: root/al/effect.h
diff options
context:
space:
mode:
Diffstat (limited to 'al/effect.h')
-rw-r--r--al/effect.h4
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);