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/auxeffectslot.h | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'al/auxeffectslot.h') diff --git a/al/auxeffectslot.h b/al/auxeffectslot.h index 327cb357..ae41a32a 100644 --- a/al/auxeffectslot.h +++ b/al/auxeffectslot.h @@ -22,8 +22,8 @@ using ALeffectslotArray = al::FlexArray; struct ALeffectslotProps { - ALfloat Gain; - ALboolean AuxSendAuto; + float Gain; + bool AuxSendAuto; ALeffectslot *Target; ALenum Type; @@ -38,8 +38,8 @@ struct ALeffectslotProps { struct ALeffectslot { - ALfloat Gain{1.0f}; - ALboolean AuxSendAuto{AL_TRUE}; + float Gain{1.0f}; + bool AuxSendAuto{true}; ALeffectslot *Target{nullptr}; struct { @@ -56,8 +56,8 @@ struct ALeffectslot { struct { std::atomic Update{nullptr}; - ALfloat Gain{1.0f}; - ALboolean AuxSendAuto{AL_TRUE}; + float Gain{1.0f}; + bool AuxSendAuto{true}; ALeffectslot *Target{nullptr}; ALenum EffectType{AL_EFFECT_NULL}; @@ -68,7 +68,7 @@ struct ALeffectslot { ALfloat DecayTime{0.0f}; ALfloat DecayLFRatio{0.0f}; ALfloat DecayHFRatio{0.0f}; - ALboolean DecayHFLimit{AL_FALSE}; + bool DecayHFLimit{false}; ALfloat AirAbsorptionGainHF{1.0f}; } Params; -- cgit v1.2.3