changeset 6588:12826366a806

more informal warning and also fixed a 10l bug. Patch by tibcu
author alex
date Fri, 28 Jun 2002 16:42:32 +0000
parents f4d4ec337ddb
children 1595ca898d3b
files libao2/ao_oss.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/libao2/ao_oss.c	Fri Jun 28 16:40:02 2002 +0000
+++ b/libao2/ao_oss.c	Fri Jun 28 16:42:32 2002 +0000
@@ -168,7 +168,7 @@
     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(ao_data.samplerate!=rate)
-	mp_msg(MSGT_AO,MSGL_WARN,"WARNING! Your soundcard does NOT support %d Hz samplerate! A-V sync problems are possible! Try with '-aop list=resample:fout=%d'\n",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);
   }
 
   if(ioctl(audio_fd, SNDCTL_DSP_GETOSPACE, &zz)==-1){