Duplicate stereo onto the side channels as well as the back
[openal-soft.git] / OpenAL32 / Include / alu.h
blob913b0a51f5dcfc224ad2a96596034e02280f4710
1 #ifndef _ALU_H_
2 #define _ALU_H_
4 #include "AL/al.h"
5 #include "AL/alc.h"
7 #ifdef __cplusplus
8 extern "C" {
9 #endif
11 enum {
12 FRONT_LEFT = 0,
13 FRONT_RIGHT,
14 FRONT_CENTER,
15 SIDE_LEFT,
16 SIDE_RIGHT,
17 BACK_LEFT,
18 BACK_RIGHT,
19 BACK_CENTER,
20 LFE,
22 OUTPUTCHANNELS
25 extern ALboolean DuplicateStereo;
27 __inline ALuint aluBytesFromFormat(ALenum format);
28 __inline ALuint aluChannelsFromFormat(ALenum format);
29 ALvoid aluInitPanning(ALCcontext *Context);
30 ALvoid aluMixData(ALCcontext *context,ALvoid *buffer,ALsizei size,ALenum format);
32 #ifdef __cplusplus
34 #endif
36 #endif