Mercurial > mplayer.hg
changeset 7668:76bd62c375e8
remove nonsense warnings now that libaf is used
author | rfelker |
---|---|
date | Tue, 08 Oct 2002 22:41:45 +0000 |
parents | 6caf69e11179 |
children | 0b3b1cbebd99 |
files | libao2/ao_oss.c |
diffstat | 1 files changed, 4 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- 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){