Check for GCC's destructor attribute before using it
[openal-soft.git] / OpenAL32 / Include / alu.h
blobe4fe0dc37adcbd352d0e3ad738d97aaf92c776e9
1 #ifndef _ALU_H_
2 #define _ALU_H_
4 #define BUFFERSIZE 48000
5 #define FRACTIONBITS 14
6 #define FRACTIONMASK ((1L<<FRACTIONBITS)-1)
7 #define MAX_PITCH 4
8 #define OUTPUTCHANNELS 4
10 #include "AL/al.h"
11 #include "AL/alc.h"
13 #ifdef __cplusplus
14 extern "C" {
15 #endif
17 __inline ALuint aluBytesFromFormat(ALenum format);
18 __inline ALuint aluChannelsFromFormat(ALenum format);
19 ALvoid aluMixData(ALCcontext *context,ALvoid *buffer,ALsizei size,ALenum format);
21 #ifdef __cplusplus
23 #endif
25 #endif