diff options
Diffstat (limited to 'alc')
-rw-r--r-- | alc/alcmain.h | 4 | ||||
-rw-r--r-- | alc/alcontext.h | 2 | ||||
-rw-r--r-- | alc/voice.h | 2 |
3 files changed, 4 insertions, 4 deletions
diff --git a/alc/alcmain.h b/alc/alcmain.h index 92c69b74..2ba19c47 100644 --- a/alc/alcmain.h +++ b/alc/alcmain.h @@ -53,14 +53,14 @@ using uint = unsigned int; #define DEFAULT_NUM_UPDATES 3 -enum class DeviceType { +enum class DeviceType : unsigned char { Playback, Capture, Loopback }; -enum class RenderMode { +enum class RenderMode : unsigned char { Normal, Pairwise, Hrtf diff --git a/alc/alcontext.h b/alc/alcontext.h index ac5c53f7..4e2bcdd7 100644 --- a/alc/alcontext.h +++ b/alc/alcontext.h @@ -33,7 +33,7 @@ struct RingBuffer; struct VoiceChange; -enum class DistanceModel { +enum class DistanceModel : unsigned char { Disable, Inverse, InverseClamped, Linear, LinearClamped, diff --git a/alc/voice.h b/alc/voice.h index 1a49bd81..07260c3e 100644 --- a/alc/voice.h +++ b/alc/voice.h @@ -19,7 +19,7 @@ struct ALCcontext; struct EffectSlot; -enum class DistanceModel; +enum class DistanceModel : unsigned char; using uint = unsigned int; |