diff options
Diffstat (limited to 'alc/alu.h')
-rw-r--r-- | alc/alu.h | 15 |
1 files changed, 10 insertions, 5 deletions
@@ -1,6 +1,8 @@ #ifndef ALU_H #define ALU_H +#include <bitset> + #include "aloptional.h" struct ALCcontext; @@ -13,7 +15,14 @@ enum class StereoEncoding : unsigned char; constexpr float GainMixMax{1000.0f}; /* +60dB */ -void aluInit(void); +enum CompatFlags : uint8_t { + ReverseZ, + + Count +}; +using CompatFlagBitset = std::bitset<CompatFlags::Count>; + +void aluInit(CompatFlagBitset flags); /* aluInitRenderer * @@ -24,8 +33,4 @@ void aluInitRenderer(ALCdevice *device, int hrtf_id, al::optional<StereoEncoding void aluInitEffectPanning(EffectSlot *slot, ALCcontext *context); - -extern const float ConeScale; -extern const float ZScale; - #endif |