aboutsummaryrefslogtreecommitdiffstats
path: root/al/auxeffectslot.h
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2020-03-28 15:37:34 -0700
committerChris Robinson <[email protected]>2020-03-28 18:15:05 -0700
commitf1f9a1417206e6097005c6088b65d56cb4e15429 (patch)
tree5ca1ad3fc79bfb1789ff0d0d9a28a2cebca845ef /al/auxeffectslot.h
parent504745abec35c4718833cd7c7ed8db3b242e0aa2 (diff)
Avoid AL[C]boolean for internal use
Diffstat (limited to 'al/auxeffectslot.h')
-rw-r--r--al/auxeffectslot.h14
1 files changed, 7 insertions, 7 deletions
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<ALeffectslot*>;
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<ALeffectslotProps*> 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;