[MPlayer-cvslog] r19841 - trunk/libao2/ao_win32.c

faust3 subversion at mplayerhq.hu
Fri Sep 15 18:26:25 CEST 2006


Author: faust3
Date: Fri Sep 15 18:26:25 2006
New Revision: 19841

Modified:
   trunk/libao2/ao_win32.c

Log:
disable multichannel mode, it never worked reliable

Modified: trunk/libao2/ao_win32.c
==============================================================================
--- trunk/libao2/ao_win32.c	(original)
+++ trunk/libao2/ao_win32.c	Fri Sep 15 18:26:25 2006
@@ -159,6 +159,11 @@
 			mp_msg(MSGT_AO, MSGL_V,"ao_win32: format %s not supported defaulting to Signed 16-bit Little-Endian\n",af_fmt2str_short(format));
 			format=AF_FORMAT_S16_LE;
 	}   
+
+	// FIXME multichannel mode is buggy
+	if(channels > 2)
+		channels = 2;
+   
 	//fill global ao_data 
 	ao_data.channels=channels;
 	ao_data.samplerate=rate;



More information about the MPlayer-cvslog mailing list