summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorZane van Iperen <zane@zanevaniperen.com>2020-02-22 13:21:02 +0000
committerMichael Niedermayer <michael@niedermayer.cc>2020-02-22 20:45:45 +0100
commit3de8ca21ab15ba20a3ca40d4ef5bc5cdc1d6dc62 (patch)
tree1414dd525b250120cd29f0ef44912f358a46b4e6 /tests
parentc790500644c9f09a68611dc79168c55b8dd11a05 (diff)
fate/adpcm: add adpcm_ima_apm tests
Signed-off-by: Zane van Iperen <zane@zanevaniperen.com> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Diffstat (limited to 'tests')
-rw-r--r--tests/fate/adpcm.mak6
-rw-r--r--tests/ref/fate/adpcm-ima-apm-mono1
-rw-r--r--tests/ref/fate/adpcm-ima-apm-stereo1
3 files changed, 8 insertions, 0 deletions
diff --git a/tests/fate/adpcm.mak b/tests/fate/adpcm.mak
index a8493e8c58..ba8aa64fc5 100644
--- a/tests/fate/adpcm.mak
+++ b/tests/fate/adpcm.mak
@@ -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
index 0000000000..c97e09f759
--- /dev/null
+++ b/tests/ref/fate/adpcm-ima-apm-mono
@@ -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
index 0000000000..28bd689758
--- /dev/null
+++ b/tests/ref/fate/adpcm-ima-apm-stereo
@@ -0,0 +1 @@
+e7ceb7f846f831b0bb3728d8ec18fdd4