[Mplayer-cvslog] CVS: main/libao2 ao_win32.c,1.8,1.9

Sascha Sommer CVS syncmail at mplayerhq.hu
Tue Apr 6 20:06:23 CEST 2004


CVS change done by Sascha Sommer CVS

Update of /cvsroot/mplayer/main/libao2
In directory mail:/var2/tmp/cvs-serv9259/libao2

Modified Files:
	ao_win32.c 
Log Message:
support immed flag

Index: ao_win32.c
===================================================================
RCS file: /cvsroot/mplayer/main/libao2/ao_win32.c,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -r1.8 -r1.9
--- ao_win32.c	6 Apr 2004 17:55:36 -0000	1.8
+++ ao_win32.c	6 Apr 2004 18:06:20 -0000	1.9
@@ -169,8 +169,8 @@
 // close audio device
 static void uninit(int immed)
 {
-    while (buffered_bytes > 0)
-	usec_sleep(50000);
+    if(!immed)while(buffered_bytes > 0)usec_sleep(50000);
+    else buffered_bytes=0;
 	waveOutReset(hWaveOut);
 	waveOutClose(hWaveOut);
 	mp_msg(MSGT_AO, MSGL_V,"waveOut device closed\n");




More information about the MPlayer-cvslog mailing list