aboutsummaryrefslogtreecommitdiffstats
path: root/OpenAL32/alAuxEffectSlot.c
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2010-04-08 08:54:28 -0700
committerChris Robinson <[email protected]>2010-04-08 08:54:28 -0700
commitb273d616ad5a9979cbf0b69318aded6ec821450e (patch)
treefd19d6b0a40228669960f7cb30b1e46e04bb9f26 /OpenAL32/alAuxEffectSlot.c
parentc16b895460a51d9f89a8f728155e36ab1009c8c5 (diff)
Implement a skeleton Ring Modulator effect
Diffstat (limited to 'OpenAL32/alAuxEffectSlot.c')
-rw-r--r--OpenAL32/alAuxEffectSlot.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/OpenAL32/alAuxEffectSlot.c b/OpenAL32/alAuxEffectSlot.c
index 3f76da2f..90e28431 100644
--- a/OpenAL32/alAuxEffectSlot.c
+++ b/OpenAL32/alAuxEffectSlot.c
@@ -497,6 +497,8 @@ static ALvoid InitializeEffect(ALCcontext *Context, ALeffectslot *EffectSlot, AL
NewState = VerbCreate();
else if(effect->type == AL_EFFECT_ECHO)
NewState = EchoCreate();
+ else if(effect->type == AL_EFFECT_RING_MODULATOR)
+ NewState = ModulatorCreate();
/* No new state? An error occured.. */
if(NewState == NULL ||
ALEffect_DeviceUpdate(NewState, Context->Device) == AL_FALSE)