[Mplayer-cvslog] CVS: main/libao2 ao_oss.c,1.31,1.32
Richard Felker CVS
rfelker at mplayerhq.hu
Wed Oct 9 00:42:01 CEST 2002
Update of /cvsroot/mplayer/main/libao2
In directory mail:/var/tmp.root/cvs-serv612/libao2
Modified Files:
ao_oss.c
Log Message:
remove nonsense warnings now that libaf is used
Index: ao_oss.c
===================================================================
RCS file: /cvsroot/mplayer/main/libao2/ao_oss.c,v
retrieving revision 1.31
retrieving revision 1.32
diff -u -r1.31 -r1.32
--- ao_oss.c 22 Sep 2002 02:33:24 -0000 1.31
+++ ao_oss.c 8 Oct 2002 22:41:45 -0000 1.32
@@ -147,8 +147,10 @@
}
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 0
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));
+#endif
if(format != AFMT_AC3) {
@@ -173,8 +175,10 @@
ao_data.samplerate=rate;
ioctl (audio_fd, SNDCTL_DSP_SPEED, &ao_data.samplerate);
mp_msg(MSGT_AO,MSGL_V,"audio_setup: using %d Hz samplerate (requested: %d)\n",ao_data.samplerate,rate);
+#if 0
if(ao_data.samplerate!=rate)
mp_msg(MSGT_AO,MSGL_WARN,"WARNING! Your soundcard does NOT support %d Hz samplerate! A-V sync problems or wrong speed are possible! Try with '-aop list=resample:fout=%d'\n",rate,ao_data.samplerate);
+#endif
}
if(ioctl(audio_fd, SNDCTL_DSP_GETOSPACE, &zz)==-1){
More information about the MPlayer-cvslog
mailing list