summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPetru Rares Sincraian <psincraian@outlook.com>2016-07-19 21:18:08 +0200
committerMichael Niedermayer <michael@niedermayer.cc>2016-07-20 02:53:42 +0200
commit2383618a4019391e836e061dca51b59fd4c1605c (patch)
tree62246f94abea991a8e6289fc3f5a9e618ab35c60
parent1582e306a47977b09fddb029b999f99eb03cd485 (diff)
fate: add test for chorus filter
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
-rw-r--r--tests/fate/filter-audio.mak5
-rw-r--r--tests/ref/fate/filter-chorus15
2 files changed, 20 insertions, 0 deletions
diff --git a/tests/fate/filter-audio.mak b/tests/fate/filter-audio.mak
index 1a52320e83..21f68eeecb 100644
--- a/tests/fate/filter-audio.mak
+++ b/tests/fate/filter-audio.mak
@@ -94,6 +94,11 @@ fate-filter-asetrate: tests/data/asynth-44100-2.wav
fate-filter-asetrate: SRC = $(TARGET_PATH)/tests/data/asynth-44100-2.wav
fate-filter-asetrate: CMD = framecrc -i $(SRC) -aframes 20 -af asetrate=20000
+FATE_AFILTER-$(call FILTERDEMDECENCMUX, CHORUS, WAV, PCM_S16LE, PCM_S16LE, WAV) += fate-filter-chorus
+fate-filter-chorus: tests/data/asynth-22050-1.wav
+fate-filter-chorus: SRC = $(TARGET_PATH)/tests/data/asynth-22050-1.wav
+fate-filter-chorus: CMD = framecrc -i $(SRC) -aframes 10 -af chorus=0.5:0.5:64:0.5:0.25:2
+
tests/data/hls-list.m3u8: TAG = GEN
tests/data/hls-list.m3u8: ffmpeg$(PROGSSUF)$(EXESUF) | tests/data
$(M)$(TARGET_EXEC) $(TARGET_PATH)/$< \
diff --git a/tests/ref/fate/filter-chorus b/tests/ref/fate/filter-chorus
new file mode 100644
index 0000000000..777a37877a
--- /dev/null
+++ b/tests/ref/fate/filter-chorus
@@ -0,0 +1,15 @@
+#tb 0: 1/22050
+#media_type 0: audio
+#codec_id 0: pcm_s16le
+#sample_rate 0: 22050
+#channel_layout 0: 4
+0, 0, 0, 2048, 4096, 0x4cd2fbdf
+0, 2048, 2048, 2048, 4096, 0x233cfca2
+0, 4096, 4096, 2048, 4096, 0xf43af2b0
+0, 6144, 6144, 2048, 4096, 0xea6eff9f
+0, 8192, 8192, 2048, 4096, 0xa5ecf6a0
+0, 10240, 10240, 2048, 4096, 0x40d4f3b1
+0, 12288, 12288, 2048, 4096, 0x6b2bf76b
+0, 14336, 14336, 2048, 4096, 0xf19df862
+0, 16384, 16384, 2048, 4096, 0x736ef763
+0, 18432, 18432, 2048, 4096, 0x93b6f640