diff options
author | Chris Robinson <[email protected]> | 2008-11-16 00:29:49 -0800 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2008-11-16 00:29:49 -0800 |
commit | c0ccd31a3e5294ffa6f138ff755177cd9bad6a4b (patch) | |
tree | ea66f6c89ba033ff16cfbca970ef6ed056a7e770 /OpenAL32/Include/alReverb.h | |
parent | d72b132c57145bd6cd4c531fe0a8c65b348c2c29 (diff) |
Implement a new reverb effect
Code created and graciously provided by Christopher Fitzgerald
Diffstat (limited to 'OpenAL32/Include/alReverb.h')
-rw-r--r-- | OpenAL32/Include/alReverb.h | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/OpenAL32/Include/alReverb.h b/OpenAL32/Include/alReverb.h new file mode 100644 index 00000000..46c7194c --- /dev/null +++ b/OpenAL32/Include/alReverb.h @@ -0,0 +1,26 @@ +#ifndef _AL_REVERB_H_ +#define _AL_REVERB_H_ + +#include "AL/al.h" +#include "AL/alc.h" +#include "alMain.h" +#include "alAuxEffectSlot.h" +#include "alEffect.h" + +#ifdef __cplusplus +extern "C" { +#endif + +typedef struct ALverbState ALverbState; + +ALverbState *VerbCreate(ALCcontext *Context); +ALvoid VerbDestroy(ALverbState *State); +ALvoid VerbUpdate(ALCcontext *Context, struct ALeffectslot *Slot, ALeffect *Effect); +ALvoid VerbProcess(ALverbState *State, ALuint SamplesToDo, const ALfloat *SamplesIn, ALfloat (*SamplesOut)[OUTPUTCHANNELS]); + +#ifdef __cplusplus +} +#endif + +#endif + |