aboutsummaryrefslogtreecommitdiffstats
path: root/alc/alu.h
diff options
context:
space:
mode:
Diffstat (limited to 'alc/alu.h')
-rw-r--r--alc/alu.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/alc/alu.h b/alc/alu.h
index 67fd09e5..33453487 100644
--- a/alc/alu.h
+++ b/alc/alu.h
@@ -2,14 +2,14 @@
#define ALU_H
#include <bitset>
-
-#include "aloptional.h"
+#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 */
@@ -31,7 +31,7 @@ void aluInit(CompatFlagBitset flags, const float nfcscale);
* Set up the appropriate panning method and mixing method given the device
* properties.
*/
-void aluInitRenderer(ALCdevice *device, int hrtf_id, al::optional<StereoEncoding> stereomode);
+void aluInitRenderer(ALCdevice *device, int hrtf_id, std::optional<StereoEncoding> stereomode);
void aluInitEffectPanning(EffectSlot *slot, ALCcontext *context);