diff options
author | Chris Robinson <[email protected]> | 2019-09-12 11:33:04 -0700 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2019-09-12 11:33:04 -0700 |
commit | 2e010d29cba51aec339179d52d3faddf84faafb0 (patch) | |
tree | b1391e44f628d2821f9fc035cb6edcf77c06890e /al/source.h | |
parent | c0ce03d8b9533c768687964743420b18c5003455 (diff) |
Clean up implicit conversions in source.cpp
Diffstat (limited to 'al/source.h')
-rw-r--r-- | al/source.h | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/al/source.h b/al/source.h index 05037fd3..e0219a04 100644 --- a/al/source.h +++ b/al/source.h @@ -49,17 +49,17 @@ struct ALsource { std::array<ALfloat,3> Direction; std::array<ALfloat,3> OrientAt; std::array<ALfloat,3> OrientUp; - ALboolean HeadRelative; - ALboolean Looping; + bool HeadRelative; + bool Looping; DistanceModel mDistanceModel; Resampler mResampler; - ALboolean DirectChannels; + bool DirectChannels; SpatializeMode mSpatialize; - ALboolean DryGainHFAuto; - ALboolean WetGainAuto; - ALboolean WetGainHFAuto; - ALfloat OuterGainHF; + bool DryGainHFAuto; + bool WetGainAuto; + bool WetGainHFAuto; + ALfloat OuterGainHF; ALfloat AirAbsorptionFactor; ALfloat RoomRolloffFactor; @@ -98,7 +98,7 @@ struct ALsource { ALenum OffsetType{AL_NONE}; /** Source type (static, streaming, or undetermined) */ - ALint SourceType{AL_UNDETERMINED}; + ALenum SourceType{AL_UNDETERMINED}; /** Source state (initial, playing, paused, or stopped) */ ALenum state{AL_INITIAL}; |