Add roqaudio regression test.
authorReimar Döffinger <Reimar.Doeffinger@gmx.de>
Sun, 8 Apr 2012 19:10:44 +0000 (21:10 +0200)
committerReimar Döffinger <Reimar.Doeffinger@gmx.de>
Sun, 8 Apr 2012 22:19:06 +0000 (00:19 +0200)
Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de>
tests/codec-regression.sh
tests/ref/acodec/roqaudio [new file with mode: 0644]

index 3bf7edf..bc6e297 100755 (executable)
@@ -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 (file)
index 0000000..fe66bde
--- /dev/null
@@ -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