aboutsummaryrefslogtreecommitdiffstats
path: root/alc/alu.h
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2023-11-28 12:51:46 +0100
committerSven Gothel <[email protected]>2023-11-28 12:51:46 +0100
commit1aaf4f070011490bcece50394b9b32dfa593fd9e (patch)
tree17d68284e401a35eea3d3a574d986d446a60763a /alc/alu.h
parent6e7cee4fa9a8af03f28ca26cd89f8357390dfc90 (diff)
parent571b546f35eead77ce109f8d4dd6c3de3199d573 (diff)
Merge remote-tracking branch 'upstream/master'
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);