diff options
author | Chris Robinson <[email protected]> | 2009-09-15 22:18:13 -0700 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2009-09-15 22:18:13 -0700 |
commit | 49648fe22dec8fb5a783d8a7e3929b3231f6f4f4 (patch) | |
tree | 91476b2a2a76072128fe586400577fadfc179080 /Alc/ALc.c | |
parent | 9f037e89802a7b4fc6c287bab97b85050bbd6721 (diff) |
Make a GetConfigValueBool function and use it
Diffstat (limited to 'Alc/ALc.c')
-rw-r--r-- | Alc/ALc.c | 6 |
1 files changed, 1 insertions, 5 deletions
@@ -302,11 +302,7 @@ static void alc_init(void) BackendList[i].Probe(CAPTURE_DEVICE_PROBE); } - str = GetConfigValue(NULL, "stereodup", "false"); - DuplicateStereo = (strcasecmp(str, "true") == 0 || - strcasecmp(str, "yes") == 0 || - strcasecmp(str, "on") == 0 || - atoi(str) != 0); + DuplicateStereo = GetConfigValueBool(NULL, "stereodup", 0); str = GetConfigValue(NULL, "excludefx", ""); if(str[0]) |