diff options
author | Chris Robinson <[email protected]> | 2012-02-19 14:27:00 -0800 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2012-02-19 14:27:00 -0800 |
commit | 03ec2d6fc7e0a31b3fd00965e7ec6034b457e57a (patch) | |
tree | 1aafec9a23a29d56f51050bfa4f5586a087ef2c8 /Alc | |
parent | e4f14fdc6104c0341bb3c44bf61fc7edd369caa7 (diff) |
Check for the ALSOFT_DRIVERS env var for a list of backend drivers
This overrides the 'drivers' config option
Diffstat (limited to 'Alc')
-rw-r--r-- | Alc/ALc.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -616,7 +616,8 @@ static void alc_initconfig(void) EmulateEAXReverb = GetConfigValueBool("reverb", "emulate-eax", AL_FALSE); - if(ConfigValueStr(NULL, "drivers", &devs)) + if(((devs=getenv("ALSOFT_DRIVERS")) && devs[0]) || + ConfigValueStr(NULL, "drivers", &devs)) { int n; size_t len; |