[Mplayer-cvslog] CVS: main/libaf af_resample.c,1.7,1.8

Anders Johansson anders at mplayerhq.hu
Sun Oct 6 13:28:06 CEST 2002


Update of /cvsroot/mplayer/main/libaf
In directory mail:/var/tmp.root/cvs-serv10309

Modified Files:
	af_resample.c 
Log Message:
Changing frequency limit for resampling

Index: af_resample.c
===================================================================
RCS file: /cvsroot/mplayer/main/libaf/af_resample.c,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -r1.7 -r1.8
--- af_resample.c	6 Oct 2002 11:26:14 -0000	1.7
+++ af_resample.c	6 Oct 2002 11:28:03 -0000	1.8
@@ -267,8 +267,8 @@
     // Reinit must be called after this function has been called
     
     // Sanity check
-    if(((int*)arg)[0] < 2000 || ((int*)arg)[0] > 192000){
-      mp_msg(MSGT_AFILTER,MSGL_ERR,"[resample] The output sample frequency must be between 2kHz and 192kHz. Current value is %i \n",((int*)arg)[0]);
+    if(((int*)arg)[0] < 8000 || ((int*)arg)[0] > 192000){
+      mp_msg(MSGT_AFILTER,MSGL_ERR,"[resample] The output sample frequency must be between 8kHz and 192kHz. Current value is %i \n",((int*)arg)[0]);
       return AF_ERROR;
     }
 




More information about the MPlayer-cvslog mailing list