Commit 3d6908c5 authored by Maarten Lankhorst's avatar Maarten Lankhorst Committed by Alexandre Julliard

mmdevapi: Add OSS to blacklist on linux.

parent bf58d819
......@@ -733,6 +733,10 @@ static void openal_setformat(MMDevice *This, DWORD freq)
}
static int blacklist(const char *dev) {
#ifdef __linux__
if (strncmp(dev, "OSS ", 4))
return 1;
#endif
if (strstr(dev, "ALSA") && strstr(dev, "hw:"))
return 1;
return 0;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment