changeset 21547:0e6c0cd3dfac

Remove a disabled and completely outdated sample rate mismatch warning.
author reimar
date Sun, 10 Dec 2006 00:21:35 +0000
parents 253a1e98bfe3
children bf65ffcf0cdb
files libao2/ao_oss.c
diffstat 1 files changed, 0 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/libao2/ao_oss.c	Sat Dec 09 23:57:28 2006 +0000
+++ b/libao2/ao_oss.c	Sun Dec 10 00:21:35 2006 +0000
@@ -351,10 +351,6 @@
     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){