diff options
author | Chris Robinson <[email protected]> | 2015-08-28 14:10:39 -0700 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2015-08-28 14:10:39 -0700 |
commit | e5fa4ee25dae8b242761052641dca5a4f8091359 (patch) | |
tree | 87a4e70d7465ae651e671d62c2e6e399bb210a19 /OpenAL32/alSoundfont.c | |
parent | bbc16e2c15b139cf2ef14eff9b3bcdb4933a5b0e (diff) |
Allow for device-specific config values
Diffstat (limited to 'OpenAL32/alSoundfont.c')
-rw-r--r-- | OpenAL32/alSoundfont.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/OpenAL32/alSoundfont.c b/OpenAL32/alSoundfont.c index 8ea4c750..96feed46 100644 --- a/OpenAL32/alSoundfont.c +++ b/OpenAL32/alSoundfont.c @@ -318,7 +318,7 @@ ALsoundfont *ALsoundfont_getDefSoundfont(ALCcontext *context) namelist = getenv("ALSOFT_SOUNDFONT"); if(!namelist || !namelist[0]) - ConfigValueStr("midi", "soundfont", &namelist); + ConfigValueStr(al_string_get_cstr(device->DeviceName), "midi", "soundfont", &namelist); while(namelist && namelist[0]) { const char *next, *end; |