diff options
author | Chris Robinson <[email protected]> | 2012-01-20 16:23:15 -0800 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2012-01-20 16:23:15 -0800 |
commit | f520257463635f1fb93d4885673714bde146cf36 (patch) | |
tree | 993802f7d6f0de90f417df84cb1d79fadf4d83bd /OpenAL32/Include/alAuxEffectSlot.h | |
parent | 00dc3088c8eee5a1ee519f16d1ce4ca367259050 (diff) |
Avoid duplicating some initialization code
Diffstat (limited to 'OpenAL32/Include/alAuxEffectSlot.h')
-rw-r--r-- | OpenAL32/Include/alAuxEffectSlot.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/OpenAL32/Include/alAuxEffectSlot.h b/OpenAL32/Include/alAuxEffectSlot.h index 1646031c..6323f6f5 100644 --- a/OpenAL32/Include/alAuxEffectSlot.h +++ b/OpenAL32/Include/alAuxEffectSlot.h @@ -35,10 +35,9 @@ typedef struct ALeffectslot } ALeffectslot; -ALvoid InitializeEffect(ALCcontext *Context, ALeffectslot *EffectSlot, ALeffect *effect); +ALenum InitEffectSlot(ALeffectslot *slot); ALvoid ReleaseALAuxiliaryEffectSlots(ALCcontext *Context); - struct ALeffectState { ALvoid (*Destroy)(ALeffectState *State); ALboolean (*DeviceUpdate)(ALeffectState *State, ALCdevice *Device); @@ -57,6 +56,7 @@ ALeffectState *DedicatedCreate(void); #define ALeffectState_Update(a,b,c) ((a)->Update((a),(b),(c))) #define ALeffectState_Process(a,b,c,d) ((a)->Process((a),(b),(c),(d))) +ALvoid InitializeEffect(ALCcontext *Context, ALeffectslot *EffectSlot, ALeffect *effect); #ifdef __cplusplus } |