diff options
Diffstat (limited to 'tests/fate-run.sh')
-rwxr-xr-x | tests/fate-run.sh | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/tests/fate-run.sh b/tests/fate-run.sh index 5631267a1c..68b552cd3f 100755 --- a/tests/fate-run.sh +++ b/tests/fate-run.sh @@ -277,6 +277,18 @@ gaplessenc(){ probegaplessinfo "$file1" } +audio_match(){ + sample=$(target_path $1) + trefile=$(target_path $2) + extra_args=$3 + + decfile="${outdir}/${test}.wav" + cleanfiles="$cleanfiles $decfile" + + ffmpeg -i "$sample" -flags +bitexact -fflags +bitexact $extra_args -y $decfile + tests/audiomatch $decfile $trefile +} + concat(){ template=$1 sample=$2 |