Hi, an embarassingly simple fix ;-) Fixes Counter Strike. Found on #WineHQ. -- Andreas Mohr Stauferstr. 6, D-71272 Renningen, Germany
Determining best CVS host... Using CVSROOT :pserver:cvs@rhlx01.fht-esslingen.de:/home/wine Index: dlls/winmm/wineoss/audio.c =================================================================== RCS file: /home/wine/wine/dlls/winmm/wineoss/audio.c,v retrieving revision 1.51 diff -u -r1.51 audio.c --- dlls/winmm/wineoss/audio.c 21 Jan 2002 18:00:42 -0000 1.51 +++ dlls/winmm/wineoss/audio.c 27 Jan 2002 15:28:50 -0000 @@ -210,7 +210,7 @@ WARN("Mismatch in access...\n"); return -1; } - if (GetCurrentThreadId() == OSS_OwnerThreadID) + if (GetCurrentThreadId() != OSS_OwnerThreadID) { WARN("Another thread is trying to access audio...\n"); return -1;