fate: add test for paf audio decoder
authorPaul B Mahol <onemda@gmail.com>
Sun, 8 Jul 2012 20:16:12 +0000 (20:16 +0000)
committerPaul B Mahol <onemda@gmail.com>
Tue, 10 Jul 2012 00:04:23 +0000 (00:04 +0000)
Signed-off-by: Paul B Mahol <onemda@gmail.com>
tests/fate/audio.mak
tests/ref/fate/paf-audio [new file with mode: 0644]

index 529e402..ca26f5c 100644 (file)
@@ -43,6 +43,9 @@ fate-nellymoser-aref-encode: CMP_SHIFT = -244
 fate-nellymoser-aref-encode: CMP_TARGET = 9612
 fate-nellymoser-aref-encode: SIZE_TOLERANCE = 268
 
+FATE_SAMPLES_AUDIO += fate-paf-audio
+fate-paf-audio: CMD = framecrc -i $(SAMPLES)/paf/hod1-partial.paf -vn
+
 FATE_SAMPLES_AUDIO += fate-sierra-vmd-audio
 fate-sierra-vmd-audio: CMD = framecrc -i $(SAMPLES)/vmd/12.vmd -vn
 
diff --git a/tests/ref/fate/paf-audio b/tests/ref/fate/paf-audio
new file mode 100644 (file)
index 0000000..918ecd7
--- /dev/null
@@ -0,0 +1,7 @@
+#tb 0: 1/22050
+0,          0,          0,    57330,   229320, 0x062508b4
+0,      58718,      58718,    57330,   229320, 0x0a966cbf
+0,     117436,     117436,    57330,   229320, 0xee9bad45
+0,     176154,     176154,    57330,   229320, 0xde88274e
+0,     234872,     234872,    57330,   229320, 0x2fdeeaf6
+0,     293590,     293590,    57330,   229320, 0xf793fe5b