diff options
author | Chris Robinson <[email protected]> | 2012-01-20 01:51:27 -0800 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2012-01-20 01:51:27 -0800 |
commit | fa364352905d4e0ea012bace40872c84daabc8e2 (patch) | |
tree | e5e454d2c2ebaa522b288e4ae00823cab0e94d9f /Alc | |
parent | 4b83123cb8030a3b1c379585fd26c7a3a56f60ae (diff) |
Add a default-reverb config option, and rename __ALSOFT_FORCE_REVERB to match
Diffstat (limited to 'Alc')
-rw-r--r-- | Alc/ALc.c | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -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); } |