Remove a left-over assignment
[openal-soft.git] / alc / alu.h
blob6da8d91740642147204e4f043da4293253e9231e
1 #ifndef ALU_H
2 #define ALU_H
4 #include <bitset>
5 #include <cstdint>
6 #include <optional>
8 struct ALCcontext;
9 struct ALCdevice;
10 struct EffectSlot;
12 enum class StereoEncoding : std::uint8_t;
14 namespace al {
15 struct Device;
16 } // namespace al
18 constexpr float GainMixMax{1000.0f}; /* +60dB */
21 enum CompatFlags : std::uint8_t {
22 ReverseX,
23 ReverseY,
24 ReverseZ,
26 Count
28 using CompatFlagBitset = std::bitset<CompatFlags::Count>;
30 void aluInit(CompatFlagBitset flags, const float nfcscale);
32 /* aluInitRenderer
34 * Set up the appropriate panning method and mixing method given the device
35 * properties.
37 void aluInitRenderer(al::Device *device, int hrtf_id, std::optional<StereoEncoding> stereomode);
39 void aluInitEffectPanning(EffectSlot *slot, ALCcontext *context);
41 #endif