[Mplayer-cvslog] CVS: main/libao2 ao_oss.c,1.28,1.29

Arpi of Ize arpi at mplayerhq.hu
Sun Aug 4 20:33:29 CEST 2002


Update of /cvsroot/mplayer/main/libao2
In directory mail:/var/tmp.root/cvs-serv14421

Modified Files:
	ao_oss.c 
Log Message:
format incompatibility warning


Index: ao_oss.c
===================================================================
RCS file: /cvsroot/mplayer/main/libao2/ao_oss.c,v
retrieving revision 1.28
retrieving revision 1.29
diff -u -r1.28 -r1.29
--- ao_oss.c	25 Jul 2002 20:28:47 -0000	1.28
+++ ao_oss.c	4 Aug 2002 18:33:26 -0000	1.29
@@ -147,6 +147,9 @@
   }
   mp_msg(MSGT_AO,MSGL_V,"audio_setup: sample format: %s (requested: %s)\n",
     audio_out_format_name(ao_data.format), audio_out_format_name(format));
+  if(ao_data.format!=format)
+	mp_msg(MSGT_AO,MSGL_WARN,"WARNING! Your soundcard does NOT support %s sample format! Broken audio or bad playback speed are possible! Try with '-aop list=format'\n",audio_out_format_name(format));
+
   
   if(format != AFMT_AC3) {
     // We only use SNDCTL_DSP_CHANNELS for >2 channels, in case some drivers don't have it




More information about the MPlayer-cvslog mailing list