aboutsummaryrefslogtreecommitdiffstats
path: root/tests/play_all_formats.sh
diff options
context:
space:
mode:
Diffstat (limited to 'tests/play_all_formats.sh')
-rwxr-xr-xtests/play_all_formats.sh14
1 files changed, 14 insertions, 0 deletions
diff --git a/tests/play_all_formats.sh b/tests/play_all_formats.sh
new file mode 100755
index 0000000..5cebffb
--- /dev/null
+++ b/tests/play_all_formats.sh
@@ -0,0 +1,14 @@
+#!/bin/sh
+OUTDIR=/tmp
+INFILE=$1
+
+. ./common.sh
+
+for f in $FORMATS; do
+ BASE=`basename $INFILE`
+ PLAYFILE=$OUTDIR/$BASE.$f
+ echo
+ echo Format $f: Playing back $PLAYFILE
+ echo $GAPK -f $f -i $PLAYFILE -g rawpcm-s16le -A default
+ $GAPK -f $f -i $PLAYFILE -g rawpcm-s16le -A default
+done