Use the MIN/MAX/DEFAULT macros for checking and setting the effect parameters
[openal-soft.git] / OpenAL32 / Include / alReverb.h
blob95b5adb027a5ef02ff0f7ad6e4bbd4100827c1a9
1 #ifndef _AL_REVERB_H_
2 #define _AL_REVERB_H_
4 #include "AL/al.h"
5 #include "AL/alc.h"
6 #include "alMain.h"
7 #include "alAuxEffectSlot.h"
8 #include "alEffect.h"
10 #ifdef __cplusplus
11 extern "C" {
12 #endif
14 typedef struct ALverbState ALverbState;
16 ALverbState *VerbCreate(ALCcontext *Context);
17 ALverbState *EAXVerbCreate(ALCcontext *Context);
18 ALvoid VerbDestroy(ALverbState *State);
19 ALvoid VerbUpdate(ALCcontext *Context, struct ALeffectslot *Slot, ALeffect *Effect);
20 ALvoid VerbProcess(ALverbState *State, ALuint SamplesToDo, const ALfloat *SamplesIn, ALfloat (*SamplesOut)[OUTPUTCHANNELS]);
21 ALvoid EAXVerbProcess(ALverbState *State, ALuint SamplesToDo, const ALfloat *SamplesIn, ALfloat (*SamplesOut)[OUTPUTCHANNELS]);
23 #ifdef __cplusplus
25 #endif
27 #endif