fate/adpcm: add adpcm_ima_apm tests
authorZane van Iperen <zane@zanevaniperen.com>
Sat, 22 Feb 2020 13:21:02 +0000 (13:21 +0000)
committerMichael Niedermayer <michael@niedermayer.cc>
Sat, 22 Feb 2020 19:45:45 +0000 (20:45 +0100)
Signed-off-by: Zane van Iperen <zane@zanevaniperen.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
tests/fate/adpcm.mak
tests/ref/fate/adpcm-ima-apm-mono [new file with mode: 0644]
tests/ref/fate/adpcm-ima-apm-stereo [new file with mode: 0644]

index a8493e8..ba8aa64 100644 (file)
@@ -100,5 +100,11 @@ fate-adpcm-ima-ssi-mono: CMD = md5 -i $(TARGET_SAMPLES)/kvag/mull1_cut.vag -f s1
 FATE_ADPCM-$(call DEMDEC, KVAG, ADPCM_IMA_SSI) += fate-adpcm-ima-ssi-stereo
 fate-adpcm-ima-ssi-stereo: CMD = md5 -i $(TARGET_SAMPLES)/kvag/credits_cut.vag -f s16le
 
+FATE_ADPCM-$(call DEMDEC, APM, ADPCM_IMA_APM) += fate-adpcm-ima-apm-mono
+fate-adpcm-ima-apm-mono: CMD = md5 -i $(TARGET_SAMPLES)/apm/outro1.apm -f s16le
+
+FATE_ADPCM-$(call DEMDEC, APM, ADPCM_IMA_APM) += fate-adpcm-ima-apm-stereo
+fate-adpcm-ima-apm-stereo: CMD = md5 -i $(TARGET_SAMPLES)/apm/AS01.apm -f s16le
+
 FATE_SAMPLES_AVCONV += $(FATE_ADPCM-yes)
 fate-adpcm: $(FATE_ADPCM-yes)
diff --git a/tests/ref/fate/adpcm-ima-apm-mono b/tests/ref/fate/adpcm-ima-apm-mono
new file mode 100644 (file)
index 0000000..c97e09f
--- /dev/null
@@ -0,0 +1 @@
+a5cb56a035ab4b79adceba6fe4a428d2
diff --git a/tests/ref/fate/adpcm-ima-apm-stereo b/tests/ref/fate/adpcm-ima-apm-stereo
new file mode 100644 (file)
index 0000000..28bd689
--- /dev/null
@@ -0,0 +1 @@
+e7ceb7f846f831b0bb3728d8ec18fdd4