aboutsummaryrefslogtreecommitdiffstats
path: root/tests/play_all_formats.sh
blob: 5cebffbb02ef37fec52ab440673ed3fc40b56d4c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
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