aboutsummaryrefslogtreecommitdiffstats
path: root/OpenAL32/alEffect.c
diff options
context:
space:
mode:
Diffstat (limited to 'OpenAL32/alEffect.c')
-rw-r--r--OpenAL32/alEffect.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/OpenAL32/alEffect.c b/OpenAL32/alEffect.c
index aebda3c7..90e33a02 100644
--- a/OpenAL32/alEffect.c
+++ b/OpenAL32/alEffect.c
@@ -1455,6 +1455,12 @@ ALvoid GetReverbEffect(const char *name, ALeffect *effect)
{
int i;
+ if(strcasecmp(name, "none") == 0)
+ {
+ InitEffectParams(effect, AL_EFFECT_NULL);
+ return;
+ }
+
if(!DisabledEffects[EAXREVERB])
InitEffectParams(effect, AL_EFFECT_EAXREVERB);
else if(!DisabledEffects[REVERB])