I forgot to attach the patch so here it is.

Jan Dvorak

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

Reply via email to