From fe053df38da17eaa26caa9f753baa69aa68bdf55 Mon Sep 17 00:00:00 2001 From: anders Date: Sun, 6 Oct 2002 11:28:03 +0000 Subject: [PATCH] Changing frequency limit for resampling git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7617 b3059339-0415-0410-9bf9-f77b7e298cf2 --- libaf/af_resample.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libaf/af_resample.c b/libaf/af_resample.c index b9c45e32b2..7230c42f21 100644 --- a/libaf/af_resample.c +++ b/libaf/af_resample.c @@ -267,8 +267,8 @@ static int control(struct af_instance_s* af, int cmd, void* arg) // 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; }