summaryrefslogtreecommitdiffstats
path: root/OpenAL32/Include/alAuxEffectSlot.h
diff options
context:
space:
mode:
Diffstat (limited to 'OpenAL32/Include/alAuxEffectSlot.h')
-rw-r--r--OpenAL32/Include/alAuxEffectSlot.h27
1 files changed, 15 insertions, 12 deletions
diff --git a/OpenAL32/Include/alAuxEffectSlot.h b/OpenAL32/Include/alAuxEffectSlot.h
index 60724654..463a6770 100644
--- a/OpenAL32/Include/alAuxEffectSlot.h
+++ b/OpenAL32/Include/alAuxEffectSlot.h
@@ -15,9 +15,10 @@ typedef struct ALeffectslot ALeffectslot;
struct ALeffectStateVtable {
ALvoid (*const Destruct)(ALeffectState *state);
- ALboolean (*const DeviceUpdate)(ALeffectState *state, ALCdevice *device);
- ALvoid (*const Update)(ALeffectState *state, ALCdevice *device, const ALeffectslot *slot);
- ALvoid (*const Process)(ALeffectState *state, ALuint samplesToDo, const ALfloat *restrict samplesIn, ALfloat (*restrict samplesOut)[BUFFERSIZE]);
+
+ ALboolean (*const deviceUpdate)(ALeffectState *state, ALCdevice *device);
+ ALvoid (*const update)(ALeffectState *state, ALCdevice *device, const ALeffectslot *slot);
+ ALvoid (*const process)(ALeffectState *state, ALuint samplesToDo, const ALfloat *restrict samplesIn, ALfloat (*restrict samplesOut)[BUFFERSIZE]);
void (*const Delete)(ALeffectState *state);
};
@@ -29,20 +30,22 @@ struct ALeffectState {
#define DEFINE_ALEFFECTSTATE_VTABLE(T) \
static ALvoid T##_ALeffectState_Destruct(ALeffectState *state) \
{ T##_Destruct(STATIC_UPCAST(T, ALeffectState, state)); } \
-static ALboolean T##_ALeffectState_DeviceUpdate(ALeffectState *state, ALCdevice *device) \
-{ return T##_DeviceUpdate(STATIC_UPCAST(T, ALeffectState, state), device); } \
-static ALvoid T##_ALeffectState_Update(ALeffectState *state, ALCdevice *device, const ALeffectslot *slot) \
-{ T##_Update(STATIC_UPCAST(T, ALeffectState, state), device, slot); } \
-static ALvoid T##_ALeffectState_Process(ALeffectState *state, ALuint samplesToDo, const ALfloat *restrict samplesIn, ALfloat (*restrict samplesOut)[BUFFERSIZE]) \
-{ T##_Process(STATIC_UPCAST(T, ALeffectState, state), samplesToDo, samplesIn, samplesOut); } \
+static ALboolean T##_ALeffectState_deviceUpdate(ALeffectState *state, ALCdevice *device) \
+{ return T##_deviceUpdate(STATIC_UPCAST(T, ALeffectState, state), device); } \
+static ALvoid T##_ALeffectState_update(ALeffectState *state, ALCdevice *device, const ALeffectslot *slot) \
+{ T##_update(STATIC_UPCAST(T, ALeffectState, state), device, slot); } \
+static ALvoid T##_ALeffectState_process(ALeffectState *state, ALuint samplesToDo, const ALfloat *restrict samplesIn, ALfloat (*restrict samplesOut)[BUFFERSIZE]) \
+{ T##_process(STATIC_UPCAST(T, ALeffectState, state), samplesToDo, samplesIn, samplesOut); } \
static ALvoid T##_ALeffectState_Delete(ALeffectState *state) \
{ T##_Delete(STATIC_UPCAST(T, ALeffectState, state)); } \
\
static const struct ALeffectStateVtable T##_ALeffectState_vtable = { \
T##_ALeffectState_Destruct, \
- T##_ALeffectState_DeviceUpdate, \
- T##_ALeffectState_Update, \
- T##_ALeffectState_Process, \
+ \
+ T##_ALeffectState_deviceUpdate, \
+ T##_ALeffectState_update, \
+ T##_ALeffectState_process, \
+ \
T##_ALeffectState_Delete, \
}