Avoid a stateful unique_ptr deleter
[openal-soft.git] / alc / alu.h
blobb88f7cf51148d4c83a2613974cd73a43d3263c54
1 #ifndef ALU_H
2 #define ALU_H
4 #include "aloptional.h"
6 struct ALCcontext;
7 struct ALCdevice;
8 struct EffectSlot;
10 enum class StereoEncoding : unsigned char;
13 constexpr float GainMixMax{1000.0f}; /* +60dB */
16 void aluInit(void);
18 /* aluInitRenderer
20 * Set up the appropriate panning method and mixing method given the device
21 * properties.
23 void aluInitRenderer(ALCdevice *device, int hrtf_id, al::optional<StereoEncoding> stereomode);
25 void aluInitEffectPanning(EffectSlot *slot, ALCcontext *context);
28 extern const float ConeScale;
29 extern const float ZScale;
31 #endif