aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--alc/alcmain.h4
-rw-r--r--alc/alcontext.h2
-rw-r--r--alc/voice.h2
-rw-r--r--core/devformat.h2
4 files changed, 5 insertions, 5 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;
diff --git a/core/devformat.h b/core/devformat.h
index 9577c4b7..6b6fee77 100644
--- a/core/devformat.h
+++ b/core/devformat.h
@@ -6,7 +6,7 @@
using uint = unsigned int;
-enum Channel {
+enum Channel : unsigned char {
FrontLeft = 0,
FrontRight,
FrontCenter,