mmdevapi: Add OSS to blacklist on linux.

This commit is contained in:
Maarten Lankhorst 2010-04-14 20:17:07 +02:00 committed by Alexandre Julliard
parent bf58d81968
commit 3d6908c53d

View File

@ -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;