First Commit
This commit is contained in:
38
externals/openal-soft/alc/alu.h
vendored
Normal file
38
externals/openal-soft/alc/alu.h
vendored
Normal file
@@ -0,0 +1,38 @@
|
||||
#ifndef ALU_H
|
||||
#define ALU_H
|
||||
|
||||
#include <bitset>
|
||||
|
||||
#include "aloptional.h"
|
||||
|
||||
struct ALCcontext;
|
||||
struct ALCdevice;
|
||||
struct EffectSlot;
|
||||
|
||||
enum class StereoEncoding : unsigned char;
|
||||
|
||||
|
||||
constexpr float GainMixMax{1000.0f}; /* +60dB */
|
||||
|
||||
|
||||
enum CompatFlags : uint8_t {
|
||||
ReverseX,
|
||||
ReverseY,
|
||||
ReverseZ,
|
||||
|
||||
Count
|
||||
};
|
||||
using CompatFlagBitset = std::bitset<CompatFlags::Count>;
|
||||
|
||||
void aluInit(CompatFlagBitset flags, const float nfcscale);
|
||||
|
||||
/* aluInitRenderer
|
||||
*
|
||||
* 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 aluInitEffectPanning(EffectSlot *slot, ALCcontext *context);
|
||||
|
||||
#endif
|
||||
Reference in New Issue
Block a user