aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--alc/alu.h3
-rw-r--r--core/device.h7
2 files changed, 6 insertions, 4 deletions
diff --git a/alc/alu.h b/alc/alu.h
index 253940cf..33453487 100644
--- a/alc/alu.h
+++ b/alc/alu.h
@@ -3,12 +3,13 @@
#include <bitset>
#include <optional>
+#include <stdint.h>
struct ALCcontext;
struct ALCdevice;
struct EffectSlot;
-enum class StereoEncoding : unsigned char;
+enum class StereoEncoding : uint8_t;
constexpr float GainMixMax{1000.0f}; /* +60dB */
diff --git a/core/device.h b/core/device.h
index 9aaf7adb..bc180582 100644
--- a/core/device.h
+++ b/core/device.h
@@ -9,6 +9,7 @@
#include <chrono>
#include <memory>
#include <mutex>
+#include <stdint.h>
#include <string>
#include "almalloc.h"
@@ -43,20 +44,20 @@ using uint = unsigned int;
#define DEFAULT_NUM_UPDATES 3
-enum class DeviceType : unsigned char {
+enum class DeviceType : uint8_t {
Playback,
Capture,
Loopback
};
-enum class RenderMode : unsigned char {
+enum class RenderMode : uint8_t {
Normal,
Pairwise,
Hrtf
};
-enum class StereoEncoding : unsigned char {
+enum class StereoEncoding : uint8_t {
Basic,
Uhj,
Hrtf,