aboutsummaryrefslogtreecommitdiffstats
path: root/Alc
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2012-01-20 01:51:27 -0800
committerChris Robinson <[email protected]>2012-01-20 01:51:27 -0800
commitfa364352905d4e0ea012bace40872c84daabc8e2 (patch)
treee5e454d2c2ebaa522b288e4ae00823cab0e94d9f /Alc
parent4b83123cb8030a3b1c379585fd26c7a3a56f60ae (diff)
Add a default-reverb config option, and rename __ALSOFT_FORCE_REVERB to match
Diffstat (limited to 'Alc')
-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);
}