# HG changeset patch # User anders # Date 1033903683 0 # Node ID d09c125a88faa8a89aef7cef59d5b385c596d7c1 # Parent c67328dd459a05aa0105ac6c3a85849f2fe8a95f Changing frequency limit for resampling diff -r c67328dd459a -r d09c125a88fa libaf/af_resample.c --- a/libaf/af_resample.c Sun Oct 06 11:26:14 2002 +0000 +++ b/libaf/af_resample.c Sun Oct 06 11:28:03 2002 +0000 @@ -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; }