warn:wave:OSS_OpenDevice Another thread is trying to access audio...

Jan Dvorak johnydog at go.cz
Tue Apr 2 15:24:32 CST 2002


I forgot to attach the patch so here it is.

Jan Dvorak

-------------- next part --------------
Index: dlls/winmm/wineoss/audio.c
===================================================================
RCS file: /home/wine/wine/dlls/winmm/wineoss/audio.c,v
retrieving revision 1.54
diff -u -r1.54 audio.c
--- dlls/winmm/wineoss/audio.c	1 Apr 2002 21:02:49 -0000	1.54
+++ dlls/winmm/wineoss/audio.c	2 Apr 2002 20:19:16 -0000
@@ -227,7 +227,7 @@
         if (GetCurrentThreadId() != OSS_OwnerThreadID)
         {
             WARN("Another thread is trying to access audio...\n");
-            return -1;
+            return OSS_OpenFD;
         }
     }
 


More information about the wine-devel mailing list