aboutsummaryrefslogtreecommitdiffstats
path: root/OpenAL32/alAuxEffectSlot.c
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2011-03-12 20:11:25 -0800
committerChris Robinson <[email protected]>2011-03-12 20:11:25 -0800
commit73123bc313fd0f700abc8569138081abca997b78 (patch)
treeb438e53a2ed62f8b6391793aaf36297da0ad8b27 /OpenAL32/alAuxEffectSlot.c
parent947aa1342c82fe22b2030b04e43532af0a07d978 (diff)
Add support for ALC_EXT_DEDICATED
Diffstat (limited to 'OpenAL32/alAuxEffectSlot.c')
-rw-r--r--OpenAL32/alAuxEffectSlot.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/OpenAL32/alAuxEffectSlot.c b/OpenAL32/alAuxEffectSlot.c
index aab4f96b..9d25ce23 100644
--- a/OpenAL32/alAuxEffectSlot.c
+++ b/OpenAL32/alAuxEffectSlot.c
@@ -488,6 +488,10 @@ static ALvoid InitializeEffect(ALCcontext *Context, ALeffectslot *EffectSlot, AL
NewState = EchoCreate();
else if(effect->type == AL_EFFECT_RING_MODULATOR)
NewState = ModulatorCreate();
+ else if(effect->type == AL_EFFECT_DEDICATED_LOW_FREQUENCY_EFFECT)
+ NewState = DedicatedLFECreate();
+ else if(effect->type == AL_EFFECT_DEDICATED_DIALOGUE)
+ NewState = DedicatedDLGCreate();
/* No new state? An error occured.. */
if(NewState == NULL ||
ALEffect_DeviceUpdate(NewState, Context->Device) == AL_FALSE)