# HG changeset patch # User rfelker # Date 1034116905 0 # Node ID 76bd62c375e84a29e61867236a564a5462cad22e # Parent 6caf69e11179a7e0659fe557a5f4732c10ce894a remove nonsense warnings now that libaf is used diff -r 6caf69e11179 -r 76bd62c375e8 libao2/ao_oss.c --- a/libao2/ao_oss.c Tue Oct 08 19:18:36 2002 +0000 +++ b/libao2/ao_oss.c Tue Oct 08 22:41:45 2002 +0000 @@ -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){