fate: add ADPCM AFC decoder test

Signed-off-by: Paul B Mahol <onemda@gmail.com>
This commit is contained in:
Paul B Mahol 2012-11-23 12:03:14 +00:00
parent 6f9ca8cbe0
commit a8ebbf87be
2 changed files with 16 additions and 0 deletions

View File

@ -1,3 +1,6 @@
FATE_ADPCM-$(call DEMDEC, AST, ADPCM_AFC) += fate-adpcm-afc
fate-adpcm-afc: CMD = framecrc -i $(SAMPLES)/ast/demo11_02_partial.ast
FATE_ADPCM-$(call DEMDEC, WAV, ADPCM_CT) += fate-adpcm-creative
fate-adpcm-creative: CMD = md5 -i $(SAMPLES)/creative/intro-partial.wav -f s16le

13
tests/ref/fate/adpcm-afc Normal file
View File

@ -0,0 +1,13 @@
#tb 0: 1/44100
0, 0, 0, 17920, 71680, 0x52373bc9
0, 17920, 17920, 17920, 71680, 0x1f854b27
0, 35840, 35840, 17920, 71680, 0x3d265a6d
0, 53760, 53760, 17920, 71680, 0x7e38d624
0, 71680, 71680, 17920, 71680, 0x003b7616
0, 89600, 89600, 17920, 71680, 0x9fed7ca7
0, 107520, 107520, 17920, 71680, 0x22af668c
0, 125440, 125440, 17920, 71680, 0xefd95c4a
0, 143360, 143360, 17920, 71680, 0x8b68142e
0, 161280, 161280, 17920, 71680, 0x0a0614fa
0, 179200, 179200, 17920, 71680, 0x22ababa3
0, 197120, 197120, 17920, 71680, 0xda4b1708