diff options
author | Chris Robinson <[email protected]> | 2020-05-21 09:10:32 -0700 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2020-05-21 09:10:32 -0700 |
commit | 5bbbe8341ee54e8bfeb3817d332a8413c8c7eb81 (patch) | |
tree | edb8ec4665deca2ab5f0a2b621c64f392ecbc33a /alc/voice.h | |
parent | e880c04f321ec3244ac4987c9c7a865ccbda5a80 (diff) |
Use an enum class for SpatializeMode
Diffstat (limited to 'alc/voice.h')
-rw-r--r-- | alc/voice.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/alc/voice.h b/alc/voice.h index f4d09ad3..c87244fc 100644 --- a/alc/voice.h +++ b/alc/voice.h @@ -19,10 +19,10 @@ enum class DistanceModel; -enum SpatializeMode { - SpatializeOff = AL_FALSE, - SpatializeOn = AL_TRUE, - SpatializeAuto = AL_AUTO_SOFT +enum class SpatializeMode : unsigned char { + Off = AL_FALSE, + On = AL_TRUE, + Auto = AL_AUTO_SOFT }; enum class DirectMode : unsigned char { |