aboutsummaryrefslogtreecommitdiffstats
path: root/OpenAL32/alExtension.c
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2011-03-12 20:54:49 -0800
committerChris Robinson <[email protected]>2011-03-12 20:54:49 -0800
commitb1d4508d90eeb245bfc0f720fa9c0da7df8444fa (patch)
tree12e9d11a4fb137465db191073f71044925eacdda /OpenAL32/alExtension.c
parent8249dc8559aae9762fd3047120abeef0ae0303b6 (diff)
Use a loop to make sure the requested effect is not disabled
Diffstat (limited to 'OpenAL32/alExtension.c')
-rw-r--r--OpenAL32/alExtension.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/OpenAL32/alExtension.c b/OpenAL32/alExtension.c
index 9f5cad65..67d12050 100644
--- a/OpenAL32/alExtension.c
+++ b/OpenAL32/alExtension.c
@@ -276,13 +276,13 @@ static const ALenums enumeration[] = {
const struct EffectList EffectList[] = {
- { "eaxreverb", EAXREVERB, "AL_EFFECT_EAXREVERB" },
- { "reverb", REVERB, "AL_EFFECT_REVERB" },
- { "echo", ECHO, "AL_EFFECT_ECHO" },
- { "modulator", MODULATOR, "AL_EFFECT_RING_MODULATOR" },
- { "dedicated", DEDICATED, "AL_EFFECT_DEDICATED_LOW_FREQUENCY_EFFECT" },
- { "dedicated", DEDICATED, "AL_EFFECT_DEDICATED_DIALOGUE" },
- { NULL, 0, NULL }
+ { "eaxreverb", EAXREVERB, "AL_EFFECT_EAXREVERB", AL_EFFECT_EAXREVERB },
+ { "reverb", REVERB, "AL_EFFECT_REVERB", AL_EFFECT_REVERB },
+ { "echo", ECHO, "AL_EFFECT_ECHO", AL_EFFECT_ECHO },
+ { "modulator", MODULATOR, "AL_EFFECT_RING_MODULATOR", AL_EFFECT_RING_MODULATOR },
+ { "dedicated", DEDICATED, "AL_EFFECT_DEDICATED_LOW_FREQUENCY_EFFECT", AL_EFFECT_DEDICATED_LOW_FREQUENCY_EFFECT },
+ { "dedicated", DEDICATED, "AL_EFFECT_DEDICATED_DIALOGUE", AL_EFFECT_DEDICATED_DIALOGUE },
+ { NULL, 0, NULL, (ALenum)0 }
};