aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--alc/alc.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/alc/alc.cpp b/alc/alc.cpp
index cc2a9536..22e349b3 100644
--- a/alc/alc.cpp
+++ b/alc/alc.cpp
@@ -3490,6 +3490,11 @@ START_API_FUNC
|| al::strcasecmp(deviceName, "DirectSound") == 0
|| al::strcasecmp(deviceName, "MMSYSTEM") == 0
#endif
+ /* Some old Linux apps hardcode configuration strings that were
+ * supported by the OpenAL SI. We can't really do anything useful
+ * with them, so just ignore.
+ */
+ || (deviceName[0] == '\'' && deviceName[1] == '(')
|| al::strcasecmp(deviceName, "openal-soft") == 0)
deviceName = nullptr;
}