aboutsummaryrefslogtreecommitdiffstats
path: root/alc/alcmain.h
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2020-12-27 10:09:39 -0800
committerChris Robinson <[email protected]>2020-12-27 10:28:59 -0800
commitadb54677208c8dba40e60cd0731a11219cbbe319 (patch)
tree8fd1949a549b9b2a42439d88f7c9a5ac118d02e2 /alc/alcmain.h
parent4c0f77c13e5e38b6fb4c4e2746a6f1adf373f290 (diff)
Use smaller types for enums
Diffstat (limited to 'alc/alcmain.h')
-rw-r--r--alc/alcmain.h4
1 files changed, 2 insertions, 2 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