summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorPaul B Mahol <onemda@gmail.com>2012-07-08 20:16:12 +0000
committerPaul B Mahol <onemda@gmail.com>2012-07-10 00:04:23 +0000
commit409cc4588329633326b32a5245b085c543689471 (patch)
tree5a1c45a89de012638234b8aa13b414ee75ff08ce /tests
parentc88d98fe4a42b02eec7ac8e1f113f9ec1a5d0ac6 (diff)
fate: add test for paf audio decoder
Signed-off-by: Paul B Mahol <onemda@gmail.com>
Diffstat (limited to 'tests')
-rw-r--r--tests/fate/audio.mak3
-rw-r--r--tests/ref/fate/paf-audio7
2 files changed, 10 insertions, 0 deletions
diff --git a/tests/fate/audio.mak b/tests/fate/audio.mak
index 529e402b19..ca26f5cc4c 100644
--- a/tests/fate/audio.mak
+++ b/tests/fate/audio.mak
@@ -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
index 0000000000..918ecd74e9
--- /dev/null
+++ b/tests/ref/fate/paf-audio
@@ -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