diff options
author | Chris Robinson <[email protected]> | 2012-09-14 02:42:36 -0700 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2012-09-14 02:42:36 -0700 |
commit | 9f58edd7a873aaec50ca27c52372d70b3a0e1738 (patch) | |
tree | 5d263a253958e39553f80a65a2d60c1f797ed415 /OpenAL32/Include/alAuxEffectSlot.h | |
parent | 0f3a575a09fd3fa77564fd58d526aef14e8ef22a (diff) |
Fix up some more header includes
Diffstat (limited to 'OpenAL32/Include/alAuxEffectSlot.h')
-rw-r--r-- | OpenAL32/Include/alAuxEffectSlot.h | 18 |
1 files changed, 8 insertions, 10 deletions
diff --git a/OpenAL32/Include/alAuxEffectSlot.h b/OpenAL32/Include/alAuxEffectSlot.h index d1b00e37..f025118f 100644 --- a/OpenAL32/Include/alAuxEffectSlot.h +++ b/OpenAL32/Include/alAuxEffectSlot.h @@ -1,15 +1,20 @@ #ifndef _AL_AUXEFFECTSLOT_H_ #define _AL_AUXEFFECTSLOT_H_ -#include "AL/al.h" +#include "alMain.h" #include "alEffect.h" -#include "alFilter.h" #ifdef __cplusplus extern "C" { #endif -typedef struct ALeffectState ALeffectState; +typedef struct ALeffectState { + ALvoid (*Destroy)(struct ALeffectState *State); + ALboolean (*DeviceUpdate)(struct ALeffectState *State, ALCdevice *Device); + ALvoid (*Update)(struct ALeffectState *State, ALCdevice *Device, const struct ALeffectslot *Slot); + ALvoid (*Process)(struct ALeffectState *State, ALuint SamplesToDo, const ALfloat *SamplesIn, ALfloat (*SamplesOut)[BUFFERSIZE]); +} ALeffectState; + typedef struct ALeffectslot { @@ -36,13 +41,6 @@ typedef struct ALeffectslot ALenum InitEffectSlot(ALeffectslot *slot); ALvoid ReleaseALAuxiliaryEffectSlots(ALCcontext *Context); -struct ALeffectState { - ALvoid (*Destroy)(ALeffectState *State); - ALboolean (*DeviceUpdate)(ALeffectState *State, ALCdevice *Device); - ALvoid (*Update)(ALeffectState *State, ALCdevice *Device, const ALeffectslot *Slot); - ALvoid (*Process)(ALeffectState *State, ALuint SamplesToDo, const ALfloat *SamplesIn, ALfloat (*SamplesOut)[BUFFERSIZE]); -}; - ALeffectState *NoneCreate(void); ALeffectState *ReverbCreate(void); ALeffectState *EchoCreate(void); |