aboutsummaryrefslogtreecommitdiffstats
path: root/OpenAL32/alExtension.c
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2010-03-17 19:20:52 -0700
committerChris Robinson <[email protected]>2010-03-17 19:20:52 -0700
commit9d4e715ee72ddecffc1e7ccd75a4cc568f589900 (patch)
tree5df5eced3b8c9315981df5a3c020375cef7dcda0 /OpenAL32/alExtension.c
parent932e5ec9b8bb544bb4a5227a538bb231e94162c6 (diff)
Don't return unsupported effects from alGetEnumValue
Diffstat (limited to 'OpenAL32/alExtension.c')
-rw-r--r--OpenAL32/alExtension.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/OpenAL32/alExtension.c b/OpenAL32/alExtension.c
index e8cea98f..89b56e2e 100644
--- a/OpenAL32/alExtension.c
+++ b/OpenAL32/alExtension.c
@@ -316,9 +316,13 @@ static ALenums enumeration[]={
{ (ALchar *)"AL_EFFECT_TYPE", AL_EFFECT_TYPE },
{ (ALchar *)"AL_EFFECT_NULL", AL_EFFECT_NULL },
{ (ALchar *)"AL_EFFECT_REVERB", AL_EFFECT_REVERB },
+ { (ALchar *)"AL_EFFECT_EAXREVERB", AL_EFFECT_EAXREVERB },
+#if 0
{ (ALchar *)"AL_EFFECT_CHORUS", AL_EFFECT_CHORUS },
{ (ALchar *)"AL_EFFECT_DISTORTION", AL_EFFECT_DISTORTION },
+#endif
{ (ALchar *)"AL_EFFECT_ECHO", AL_EFFECT_ECHO },
+#if 0
{ (ALchar *)"AL_EFFECT_FLANGER", AL_EFFECT_FLANGER },
{ (ALchar *)"AL_EFFECT_FREQUENCY_SHIFTER", AL_EFFECT_FREQUENCY_SHIFTER },
{ (ALchar *)"AL_EFFECT_VOCAL_MORPHER", AL_EFFECT_VOCAL_MORPHER },
@@ -327,6 +331,7 @@ static ALenums enumeration[]={
{ (ALchar *)"AL_EFFECT_AUTOWAH", AL_EFFECT_AUTOWAH },
{ (ALchar *)"AL_EFFECT_COMPRESSOR", AL_EFFECT_COMPRESSOR },
{ (ALchar *)"AL_EFFECT_EQUALIZER", AL_EFFECT_EQUALIZER },
+#endif
// Reverb params
{ (ALchar *)"AL_REVERB_DENSITY", AL_REVERB_DENSITY },