doom3-gpl
Doom 3 GPL source release
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
alu.h
Go to the documentation of this file.
1 #ifndef _ALU_H_
2 #define _ALU_H_
3 
4 #define ALUAPI
5 #define ALUAPIENTRY __cdecl
6 
7 #define BUFFERSIZE 48000
8 #define FRACTIONBITS 14
9 #define FRACTIONMASK ((1L<<FRACTIONBITS)-1)
10 #define OUTPUTCHANNELS 2
11 
12 #include "altypes.h"
13 
14 #ifdef __cplusplus
15 extern "C" {
16 #endif
17 
20 ALUAPI ALvoid ALUAPIENTRY aluCrossproduct(ALfloat *inVector1,ALfloat *inVector2,ALfloat *outVector);
21 ALUAPI ALfloat ALUAPIENTRY aluDotproduct(ALfloat *inVector1,ALfloat *inVector2);
26 ALUAPI ALvoid ALUAPIENTRY aluSetReverb(ALvoid *Reverb,ALuint Environment);
27 ALUAPI ALvoid ALUAPIENTRY aluReverb(ALvoid *Reverb,ALfloat Buffer[][2],ALsizei BufferSize);
28 
29 #ifdef __cplusplus
30 }
31 #endif
32 
33 #endif
34 
GLsizei const GLfloat * value
Definition: glext.h:3614
int ALint
OpenAL 32bit signed integer type.
Definition: altypes.h:48
GLenum GLsizei GLenum format
Definition: glext.h:2846
ALUAPI ALint ALUAPIENTRY aluF2L(ALfloat value)
GLuint GLenum matrix
Definition: glext.h:5179
#define ALUAPI
Definition: alu.h:4
#define ALUAPIENTRY
Definition: alu.h:5
ALUAPI ALvoid ALUAPIENTRY aluMatrixVector(ALfloat matrix[3][3], ALfloat *vector)
ALUAPI ALvoid ALUAPIENTRY aluSetReverb(ALvoid *Reverb, ALuint Environment)
ALUAPI ALvoid ALUAPIENTRY aluCalculateSourceParameters(ALuint source, ALuint channels, ALfloat *drysend, ALfloat *wetsend, ALfloat *pitch)
ALUAPI ALshort ALUAPIENTRY aluF2S(ALfloat value)
ALUAPI ALvoid ALUAPIENTRY aluCrossproduct(ALfloat *inVector1, ALfloat *inVector2, ALfloat *outVector)
float ALfloat
OpenAL 32bit floating point type.
Definition: altypes.h:51
unsigned ALuint
OpenAL 32bit unsigned integer type.
Definition: altypes.h:45
GLsizei GLsizei GLcharARB * source
Definition: glext.h:3633
unsigned int ALsizei
OpenAL 32bit type.
Definition: altypes.h:57
GLuint buffer
Definition: glext.h:3108
short ALshort
OpenAL 16bit signed short integer type.
Definition: altypes.h:39
ALUAPI ALfloat ALUAPIENTRY aluDotproduct(ALfloat *inVector1, ALfloat *inVector2)
#define context
Definition: getdate.c:236
void ALvoid
OpenAL void type.
Definition: altypes.h:60
ALUAPI ALvoid ALUAPIENTRY aluNormalize(ALfloat *inVector)
GLsizeiptr size
Definition: glext.h:3112
ALUAPI ALvoid ALUAPIENTRY aluMixData(ALvoid *context, ALvoid *buffer, ALsizei size, ALenum format)
ALUAPI ALvoid ALUAPIENTRY aluReverb(ALvoid *Reverb, ALfloat Buffer[][2], ALsizei BufferSize)
int ALenum
OpenAL enumerations.
Definition: altypes.h:63