aboutsummaryrefslogtreecommitdiffstats
path: root/Alc/ALc.c
diff options
context:
space:
mode:
Diffstat (limited to 'Alc/ALc.c')
-rw-r--r--Alc/ALc.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/Alc/ALc.c b/Alc/ALc.c
index 084e7bdc..ff22ad01 100644
--- a/Alc/ALc.c
+++ b/Alc/ALc.c
@@ -722,9 +722,11 @@ static void alc_initconfig(void)
} while(next++);
}
- str = getenv("__ALSOFT_FORCE_REVERB");
+ str = getenv("__ALSOFT_DEFAULT_REVERB");
if(str && str[0])
GetReverbEffect(str, &ForcedEffect);
+ else if(ConfigValueStr(NULL, "default-reverb", &str))
+ GetReverbEffect(str, &ForcedEffect);
}