Check for the ALSOFT_DRIVERS env var for a list of backend drivers
This overrides the 'drivers' config option
This commit is contained in:
parent
e4f14fdc61
commit
03ec2d6fc7
@ -616,7 +616,8 @@ static void alc_initconfig(void)
|
|||||||
|
|
||||||
EmulateEAXReverb = GetConfigValueBool("reverb", "emulate-eax", AL_FALSE);
|
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;
|
int n;
|
||||||
size_t len;
|
size_t len;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user