diff options
author | Chris Robinson <[email protected]> | 2010-03-17 19:20:52 -0700 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2010-03-17 19:20:52 -0700 |
commit | 9d4e715ee72ddecffc1e7ccd75a4cc568f589900 (patch) | |
tree | 5df5eced3b8c9315981df5a3c020375cef7dcda0 /OpenAL32/alExtension.c | |
parent | 932e5ec9b8bb544bb4a5227a538bb231e94162c6 (diff) |
Don't return unsupported effects from alGetEnumValue
Diffstat (limited to 'OpenAL32/alExtension.c')
-rw-r--r-- | OpenAL32/alExtension.c | 5 |
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 }, |