shithub: sox

Download patch

ref: 664b224ee8bea591df44e55ebc0a1188cd9ac5fa
parent: 5af1c6651664c9e1178d2572a4bac63285873049
author: robs <robs>
date: Sat Apr 25 09:40:26 EDT 2009

test stereo; remove tests for old resamplers

--- a/src/test-srcs
+++ b/src/test-srcs
@@ -18,15 +18,10 @@
 
 test_converters () {
   # Create input file
-  $SOX -r $1 -n -twavpcm $IN synth 20 sin 0:`expr $1 / 2` gain -2 
+  $SOX -c 2 -r $1 -n -twavpcm $IN synth 20 sin 0:`expr $1 / 2` gain -2 
   for src in \
-      "polyphase" \
-      "rabbit -c0" \
-      "rabbit -c1" \
       "rate -h" \
       "rate -v" \
-      "resample -q" \
-      "resample -ql" \
       "ssrc" \
       "ssrc_hp" \
       ; do
@@ -36,7 +31,7 @@
       *)     time -f %U -o $TIME $SOX $IN -r $2 $OUT $src;;
     esac
     t=`cat $TIME`
-    $SOX $OUT -n spectrogram \
+    $SOX $OUT -n remix - spectrogram \
       -x 30 -z $RANGE -w kaiser \
       -t "$1->$2: $src" -c "${t}s user time" \
       -o "$1_$2_`echo $src | tr ' ' '_'`.png"