[MPlayer-cvslog] CVS: main/libao2 ao_win32.c,1.23,1.24

Sascha Sommer CVS syncmail at mplayerhq.hu
Mon Jan 17 22:20:01 CET 2005


CVS change done by Sascha Sommer CVS

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

Modified Files:
	ao_win32.c 
Log Message:
WAVE_FORMAT_DIRECT seems to cause problems with certain os/driver combinations and seems to be useless anyway

Index: ao_win32.c
===================================================================
RCS file: /cvsroot/mplayer/main/libao2/ao_win32.c,v
retrieving revision 1.23
retrieving revision 1.24
diff -u -r1.23 -r1.24
--- ao_win32.c	15 Jan 2005 19:27:00 -0000	1.23
+++ ao_win32.c	17 Jan 2005 21:19:59 -0000	1.24
@@ -203,7 +203,7 @@
  	
     //open sound device
     //WAVE_MAPPER always points to the default wave device on the system
-    result = waveOutOpen(&hWaveOut,WAVE_MAPPER,(WAVEFORMATEX*)&wformat,(DWORD_PTR)waveOutProc,0,CALLBACK_FUNCTION|WAVE_FORMAT_DIRECT);
+    result = waveOutOpen(&hWaveOut,WAVE_MAPPER,(WAVEFORMATEX*)&wformat,(DWORD_PTR)waveOutProc,0,CALLBACK_FUNCTION);
 	if(result == WAVERR_BADFORMAT)
 	{
 		mp_msg(MSGT_AO, MSGL_ERR,"ao_win32: format not supported switching to default\n");




More information about the MPlayer-cvslog mailing list