From e5fa4ee25dae8b242761052641dca5a4f8091359 Mon Sep 17 00:00:00 2001 From: Chris Robinson Date: Fri, 28 Aug 2015 14:10:39 -0700 Subject: Allow for device-specific config values --- OpenAL32/alSoundfont.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'OpenAL32/alSoundfont.c') 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; -- cgit v1.2.3