summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorReimar Döffinger <Reimar.Doeffinger@gmx.de>2012-04-08 21:10:44 +0200
committerReimar Döffinger <Reimar.Doeffinger@gmx.de>2012-04-09 00:19:06 +0200
commitc311afca0af5497c8e526fa8711dc9bf519f6a2f (patch)
tree777424947dd1397695b7e86eee929acc73800d69 /tests
parent5d6a40bc747da93bd4ee41a446c35fc60a399671 (diff)
Add roqaudio regression test.
Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de>
Diffstat (limited to 'tests')
-rwxr-xr-xtests/codec-regression.sh5
-rw-r--r--tests/ref/acodec/roqaudio4
2 files changed, 9 insertions, 0 deletions
diff --git a/tests/codec-regression.sh b/tests/codec-regression.sh
index 3bf7edfcea..bc6e297996 100755
--- a/tests/codec-regression.sh
+++ b/tests/codec-regression.sh
@@ -453,6 +453,11 @@ do_audio_decoding "-ac 2"
$tiny_psnr $pcm_dst $pcm_ref 2 640
fi
+if [ -n "$do_roqaudio" ] ; then
+do_audio_encoding roqaudio.roq "-ar 22050 -acodec roq_dpcm"
+do_audio_decoding "-ar 44100"
+fi
+
# AAC and nellymoser are not bit-exact across platforms,
# they were moved to enc_dec_pcm tests instead.
diff --git a/tests/ref/acodec/roqaudio b/tests/ref/acodec/roqaudio
new file mode 100644
index 0000000000..fe66bdec58
--- /dev/null
+++ b/tests/ref/acodec/roqaudio
@@ -0,0 +1,4 @@
+3fe1e3c0feeb3963685e07c75d136ed0 *./tests/data/acodec/roqaudio.roq
+265992 ./tests/data/acodec/roqaudio.roq
+f27d1906e28e80f0955b75cc4ffe3601 *./tests/data/roqaudio.acodec.out.wav
+stddev: 4610.92 PSNR: 23.05 MAXDIFF:43883 bytes: 1058336/ 1058400