[PATCH 15/16] mmdevapi: Add oss to blacklist
Maarten Lankhorst
m.b.lankhorst at gmail.com
Wed Apr 14 13:17:07 CDT 2010
---
dlls/mmdevapi/devenum.c | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
diff --git a/dlls/mmdevapi/devenum.c b/dlls/mmdevapi/devenum.c
index 5b20c85..50ceefe 100644
--- a/dlls/mmdevapi/devenum.c
+++ b/dlls/mmdevapi/devenum.c
@@ -746,6 +746,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;
--
1.7.0
--------------070506010909080902090606--
More information about the wine-patches
mailing list