Allowing to choose the frame size and rate from testcelt

This commit is contained in:
Jean-Marc Valin 2008-02-19 16:45:37 +11:00
parent 5a4bbdeb5f
commit f2d5aed8a5
2 changed files with 17 additions and 18 deletions

View file

@ -9,7 +9,7 @@ outfile=/dev/null
if [ -f mono_test_file.sw ]; then
echo -n "mono test... "
./testcelt -mono 32 mono_test_file.sw $outfile
./testcelt 44100 1 256 128 32 mono_test_file.sw $outfile
if [ $? != 0 ]; then
exit 1
fi
@ -19,7 +19,7 @@ fi
if [ -f stereo_test_file.sw ]; then
echo -n "stereo test... "
./testcelt -stereo 92 stereo_test_file.sw $outfile
./testcelt 44100 2 256 128 92 stereo_test_file.sw $outfile
if [ $? != 0 ]; then
exit 1
fi