Browse Source

Add roqaudio regression test.

Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de>
tags/n0.11
Reimar Döffinger 13 years ago
parent
commit
c311afca0a
2 changed files with 9 additions and 0 deletions
  1. +5
    -0
      tests/codec-regression.sh
  2. +4
    -0
      tests/ref/acodec/roqaudio

+ 5
- 0
tests/codec-regression.sh View File

@@ -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.



+ 4
- 0
tests/ref/acodec/roqaudio View File

@@ -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

Loading…
Cancel
Save