From c1146d27c6b35a2c18617e11c7b14fc7b1840afa Mon Sep 17 00:00:00 2001 From: Chris Robinson <chris.kcat@gmail.com> Date: Fri, 14 Aug 2015 17:02:11 -0700 Subject: Also recognize "DirectSound" and "MMSYSTEM" on Windows --- Alc/ALc.c | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'Alc') diff --git a/Alc/ALc.c b/Alc/ALc.c index e1891041..6482511f 100644 --- a/Alc/ALc.c +++ b/Alc/ALc.c @@ -3351,10 +3351,12 @@ ALC_API ALCdevice* ALC_APIENTRY alcOpenDevice(const ALCchar *deviceName) if(deviceName && (!deviceName[0] || strcasecmp(deviceName, alcDefaultName) == 0 || strcasecmp(deviceName, "openal-soft") == 0 #ifdef _WIN32 - /* Some old Windows apps hardcode this expecting hardware-accelerated - * OpenAL, even when it's not enumerated. + /* Some old Windows apps hardcode these expecting OpenAL to use a + * specific audio API, even when they're not enumerated. Creative's + * router effectively ignores them too. */ - || strcasecmp(deviceName, "DirectSound3D") == 0 + || strcasecmp(deviceName, "DirectSound3D") == 0 || strcasecmp(deviceName, "DirectSound") == 0 + || strcasecmp(deviceName, "MMSYSTEM") == 0 #endif )) deviceName = NULL; -- cgit v1.2.3