Mercurial > mplayer.hg
changeset 7616:d09c125a88fa
Changing frequency limit for resampling
author | anders |
---|---|
date | Sun, 06 Oct 2002 11:28:03 +0000 |
parents | c67328dd459a |
children | faa7dad7b4b1 |
files | libaf/af_resample.c |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- 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; }