diff options
Diffstat (limited to 'OpenAL32/Include/alu.h')
-rw-r--r-- | OpenAL32/Include/alu.h | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/OpenAL32/Include/alu.h b/OpenAL32/Include/alu.h new file mode 100644 index 00000000..e4fe0dc3 --- /dev/null +++ b/OpenAL32/Include/alu.h @@ -0,0 +1,26 @@ +#ifndef _ALU_H_ +#define _ALU_H_ + +#define BUFFERSIZE 48000 +#define FRACTIONBITS 14 +#define FRACTIONMASK ((1L<<FRACTIONBITS)-1) +#define MAX_PITCH 4 +#define OUTPUTCHANNELS 4 + +#include "AL/al.h" +#include "AL/alc.h" + +#ifdef __cplusplus +extern "C" { +#endif + +__inline ALuint aluBytesFromFormat(ALenum format); +__inline ALuint aluChannelsFromFormat(ALenum format); +ALvoid aluMixData(ALCcontext *context,ALvoid *buffer,ALsizei size,ALenum format); + +#ifdef __cplusplus +} +#endif + +#endif + |