From 9969766d490e5106964c9f3e263df2679b0bac56 Mon Sep 17 00:00:00 2001
From: Petru Rares Sincraian <psincraian@outlook.com>
Date: Tue, 2 Aug 2016 10:03:45 +0200
Subject: [PATCH] fate: add test for vibrato filter
---
tests/fate/filter-audio.mak | 5 +++++
tests/ref/fate/filter-vibrato | 25 +++++++++++++++++++++++++
2 files changed, 30 insertions(+)
create mode 100644 tests/ref/fate/filter-vibrato
@@ -122,6 +122,11 @@ FATE_AFILTER_SAMPLES-$(call FILTERDEMDECENCMUX, STEREOTOOLS, WAV, PCM_S16LE, PCM
fate-filter-stereotools: SRC = $(TARGET_SAMPLES)/audio-reference/luckynight_2ch_44kHz_s16.wav
fate-filter-stereotools: CMD = framecrc -i $(SRC) -aframes 20 -af stereotools=mlev=0.015625
+FATE_AFILTER-$(call FILTERDEMDECENCMUX, VIBRATO, WAV, PCM_S16LE, PCM_S16LE, WAV) += fate-filter-vibrato
+fate-filter-vibrato: tests/data/asynth-44100-2.wav
+fate-filter-vibrato: SRC = $(TARGET_PATH)/tests/data/asynth-44100-2.wav
+fate-filter-vibrato: CMD = framecrc -i $(SRC) -aframes 20 -af vibrato
+
tests/data/hls-list.m3u8: TAG = GEN
tests/data/hls-list.m3u8: ffmpeg$(PROGSSUF)$(EXESUF) | tests/data
$(M)$(TARGET_EXEC) $(TARGET_PATH)/$< \
new file mode 100644
@@ -0,0 +1,25 @@
+#tb 0: 1/44100
+#media_type 0: audio
+#codec_id 0: pcm_s16le
+#sample_rate 0: 44100
+#channel_layout 0: 3
+0, 0, 0, 1024, 4096, 0x4fdd3c22
+0, 1024, 1024, 1024, 4096, 0xf5480016
+0, 2048, 2048, 1024, 4096, 0x5369e961
+0, 3072, 3072, 1024, 4096, 0xf6c6dd4d
+0, 4096, 4096, 1024, 4096, 0xdf1cf565
+0, 5120, 5120, 1024, 4096, 0x07160438
+0, 6144, 6144, 1024, 4096, 0xa7f0fdc3
+0, 7168, 7168, 1024, 4096, 0xd4cb00ee
+0, 8192, 8192, 1024, 4096, 0x8db30b00
+0, 9216, 9216, 1024, 4096, 0x2a17f385
+0, 10240, 10240, 1024, 4096, 0xc3b1d4c9
+0, 11264, 11264, 1024, 4096, 0x493ed68b
+0, 12288, 12288, 1024, 4096, 0xd45af35f
+0, 13312, 13312, 1024, 4096, 0x3739f52f
+0, 14336, 14336, 1024, 4096, 0x3e6a09f0
+0, 15360, 15360, 1024, 4096, 0x104d3776
+0, 16384, 16384, 1024, 4096, 0x879af3e3
+0, 17408, 17408, 1024, 4096, 0xf57ce73b
+0, 18432, 18432, 1024, 4096, 0xa4a7ed07
+0, 19456, 19456, 1024, 4096, 0xc585d339
--
1.9.1