winealsa bug fix
Robert Reif
reif at earthlink.net
Sat Jun 12 15:15:46 CDT 2004
Reset played variables on open.
-------------- next part --------------
Index: dlls/winmm/winealsa/audio.c
===================================================================
RCS file: /home/wine/wine/dlls/winmm/winealsa/audio.c,v
retrieving revision 1.44
diff -u -r1.44 audio.c
--- dlls/winmm/winealsa/audio.c 1 Jun 2004 20:22:11 -0000 1.44
+++ dlls/winmm/winealsa/audio.c 12 Jun 2004 20:13:13 -0000
@@ -1616,6 +1616,8 @@
wwo->dwBufferSize = buffer_size;
wwo->lpQueuePtr = wwo->lpPlayPtr = wwo->lpLoopPtr = NULL;
wwo->p_handle = pcm;
+ wwo->dwPlayedTotal = wwo->dwWrittenTotal = 0;
+ wwo->dwPartialOffset = 0;
ALSA_InitRingMessage(&wwo->msgRing);
More information about the wine-patches
mailing list