Maarten Lankhorst : mmdevapi: Add OSS to blacklist on linux.
Alexandre Julliard
julliard at winehq.org
Thu Apr 15 11:37:39 CDT 2010
Module: wine
Branch: master
Commit: 3d6908c53d236c0fc8316f2da8b11382699ec4c5
URL: http://source.winehq.org/git/wine.git/?a=commit;h=3d6908c53d236c0fc8316f2da8b11382699ec4c5
Author: Maarten Lankhorst <m.b.lankhorst at gmail.com>
Date: Wed Apr 14 20:17:07 2010 +0200
mmdevapi: Add OSS to blacklist on linux.
---
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 9619aa6..0f6f45d 100644
--- a/dlls/mmdevapi/devenum.c
+++ b/dlls/mmdevapi/devenum.c
@@ -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;
More information about the wine-cvs
mailing list