diff options
author | Chris Robinson <[email protected]> | 2011-09-01 18:01:14 -0700 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2011-09-01 18:01:14 -0700 |
commit | 942c8bf8a7e3fb657bcaad339cf8029abdce0359 (patch) | |
tree | c0115312da4951f9506b8b1fe7ef3a5a4f1f5ddc /OpenAL32 | |
parent | b6b3e2f1cc6b38ae1d5ff69485c8a62bdd625dda (diff) |
Combine the dedicated (dialog/LFE) effects
Diffstat (limited to 'OpenAL32')
-rw-r--r-- | OpenAL32/Include/alAuxEffectSlot.h | 3 | ||||
-rw-r--r-- | OpenAL32/alAuxEffectSlot.c | 4 |
2 files changed, 3 insertions, 4 deletions
diff --git a/OpenAL32/Include/alAuxEffectSlot.h b/OpenAL32/Include/alAuxEffectSlot.h index 5fcfce7d..28d890cc 100644 --- a/OpenAL32/Include/alAuxEffectSlot.h +++ b/OpenAL32/Include/alAuxEffectSlot.h @@ -50,8 +50,7 @@ ALeffectState *EAXVerbCreate(void); ALeffectState *VerbCreate(void); ALeffectState *EchoCreate(void); ALeffectState *ModulatorCreate(void); -ALeffectState *DedicatedDLGCreate(void); -ALeffectState *DedicatedLFECreate(void); +ALeffectState *DedicatedCreate(void); #define ALEffect_Destroy(a) ((a)->Destroy((a))) #define ALEffect_DeviceUpdate(a,b) ((a)->DeviceUpdate((a),(b))) diff --git a/OpenAL32/alAuxEffectSlot.c b/OpenAL32/alAuxEffectSlot.c index a55a00c8..b812e995 100644 --- a/OpenAL32/alAuxEffectSlot.c +++ b/OpenAL32/alAuxEffectSlot.c @@ -535,9 +535,9 @@ static ALvoid InitializeEffect(ALCcontext *Context, ALeffectslot *EffectSlot, AL else if(effect->type == AL_EFFECT_RING_MODULATOR) NewState = ModulatorCreate(); else if(effect->type == AL_EFFECT_DEDICATED_LOW_FREQUENCY_EFFECT) - NewState = DedicatedLFECreate(); + NewState = DedicatedCreate(); else if(effect->type == AL_EFFECT_DEDICATED_DIALOGUE) - NewState = DedicatedDLGCreate(); + NewState = DedicatedCreate(); /* No new state? An error occured.. */ if(NewState == NULL || ALEffect_DeviceUpdate(NewState, Context->Device) == AL_FALSE) |