Commit 929ccb88 authored by Josh Coalson's avatar Josh Coalson
Browse files

update to match new getopt-based options

parent b7023aa1
......@@ -32,7 +32,7 @@ test_file ()
encode_options="$4"
echo -n "$name: encode..."
cmd="flac -V -s -fr -fb -fs 44100 -fp $bps -fc $channels $encode_options $name.bin"
cmd="flac --verify --silent --force-raw-input --endian=big --sample-rate=44100 --bps=$bps --channels=$channels $encode_options $name.bin"
echo "### ENCODE $name #######################################################" >> ./streams.log
echo "### cmd=$cmd" >> ./streams.log
if $cmd 2>>./streams.log ; then : ; else
......@@ -40,7 +40,7 @@ test_file ()
exit 1
fi
echo -n "decode..."
cmd="flac -s -fb -d -fr $name.flac";
cmd="flac --silent --endian=big --decode --force-raw-input $name.flac";
echo "### DECODE $name #######################################################" >> ./streams.log
echo "### cmd=$cmd" >> ./streams.log
if $cmd 2>>./streams.log ; then : ; else
......@@ -61,8 +61,8 @@ test_file ()
echo "Testing bins..."
for f in b00 b01 b02 b03 ; do
for opt in 0 1 2 4 5 6 8 ; do
for extras in '' '-p' '-e' ; do
for blocksize in '' '-b 32' '-b 32768' '-b 65535' ; do
for extras in '' '--qlp-coeff-precision-search' '--exhaustive-model-search' ; do
for blocksize in '' '--blocksize=32' '--blocksize=32768' '--blocksize=65535' ; do
for channels in 1 2 4 8 ; do
for bps in 8 16 24 ; do
test_file $BINS_PATH/$f $channels $bps "-$opt $extras $blocksize"
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment