summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorPaul B Mahol <onemda@gmail.com>2020-12-04 17:54:05 +0100
committerPaul B Mahol <onemda@gmail.com>2020-12-07 21:09:08 +0100
commitf41de0436cc8ce7221cd3702a51f3676cc689cf7 (patch)
treee99a4581aba2b484e85c4d2eb58c9a5d88de299d /tests
parentc369ceb24474449897b3c198fa2c03793173620e (diff)
avfilter/af_earwax: fix filter behavior
Previous filter output was incorrect. New one actually follows graph in comments described on side of filter taps.
Diffstat (limited to 'tests')
-rw-r--r--tests/fate/filter-audio.mak2
-rw-r--r--tests/ref/fate/filter-earwax40
2 files changed, 21 insertions, 21 deletions
diff --git a/tests/fate/filter-audio.mak b/tests/fate/filter-audio.mak
index ee1a9dfc97..8b38ee5e75 100644
--- a/tests/fate/filter-audio.mak
+++ b/tests/fate/filter-audio.mak
@@ -112,7 +112,7 @@ fate-filter-dcshift: CMD = framecrc -i $(SRC) -frames:a 20 -af aresample,dcshift
FATE_AFILTER-$(call FILTERDEMDECENCMUX, EARWAX, WAV, PCM_S16LE, PCM_S16LE, WAV) += fate-filter-earwax
fate-filter-earwax: tests/data/asynth-44100-2.wav
fate-filter-earwax: SRC = $(TARGET_PATH)/tests/data/asynth-44100-2.wav
-fate-filter-earwax: CMD = framecrc -i $(SRC) -frames:a 20 -af earwax
+fate-filter-earwax: CMD = framecrc -i $(SRC) -frames:a 20 -af aresample,earwax,aresample
FATE_AFILTER-$(call FILTERDEMDECENCMUX, EXTRASTEREO, WAV, PCM_S16LE, PCM_S16LE, WAV) += fate-filter-extrastereo
fate-filter-extrastereo: tests/data/asynth-44100-2.wav
diff --git a/tests/ref/fate/filter-earwax b/tests/ref/fate/filter-earwax
index 855f579cac..6bfa725b64 100644
--- a/tests/ref/fate/filter-earwax
+++ b/tests/ref/fate/filter-earwax
@@ -4,23 +4,23 @@
#sample_rate 0: 44100
#channel_layout 0: 3
#channel_layout_name 0: stereo
-0, 0, 0, 1024, 4096, 0x900af751
-0, 1024, 1024, 1024, 4096, 0xad570065
-0, 2048, 2048, 1024, 4096, 0x93d5f494
-0, 3072, 3072, 1024, 4096, 0x2c65ef7d
-0, 4096, 4096, 1024, 4096, 0xdc8af6d2
-0, 5120, 5120, 1024, 4096, 0x7ae00249
-0, 6144, 6144, 1024, 4096, 0xaab5fdd0
-0, 7168, 7168, 1024, 4096, 0x4373ef39
-0, 8192, 8192, 1024, 4096, 0x0756eb43
-0, 9216, 9216, 1024, 4096, 0x494d06e0
-0, 10240, 10240, 1024, 4096, 0x4393ffae
-0, 11264, 11264, 1024, 4096, 0x6972f97e
-0, 12288, 12288, 1024, 4096, 0xb834ea05
-0, 13312, 13312, 1024, 4096, 0x39b8f871
-0, 14336, 14336, 1024, 4096, 0xf032fccd
-0, 15360, 15360, 1024, 4096, 0xefcd0709
-0, 16384, 16384, 1024, 4096, 0x0590ebc0
-0, 17408, 17408, 1024, 4096, 0x2e75f264
-0, 18432, 18432, 1024, 4096, 0xbea1fd03
-0, 19456, 19456, 1024, 4096, 0x9bbe0434
+0, 0, 0, 1024, 4096, 0xb7e1f437
+0, 1024, 1024, 1024, 4096, 0xa031042a
+0, 2048, 2048, 1024, 4096, 0x9b72ed0f
+0, 3072, 3072, 1024, 4096, 0xff14ed33
+0, 4096, 4096, 1024, 4096, 0x96eef519
+0, 5120, 5120, 1024, 4096, 0x290d0ca0
+0, 6144, 6144, 1024, 4096, 0x0393fbf5
+0, 7168, 7168, 1024, 4096, 0xed89ef59
+0, 8192, 8192, 1024, 4096, 0xf664e969
+0, 9216, 9216, 1024, 4096, 0x261a05e4
+0, 10240, 10240, 1024, 4096, 0xc334ff5b
+0, 11264, 11264, 1024, 4096, 0x030ffa65
+0, 12288, 12288, 1024, 4096, 0xcfb4e835
+0, 13312, 13312, 1024, 4096, 0xd9adf7ff
+0, 14336, 14336, 1024, 4096, 0x5e9001ae
+0, 15360, 15360, 1024, 4096, 0xbfaf0174
+0, 16384, 16384, 1024, 4096, 0x8cf3f061
+0, 17408, 17408, 1024, 4096, 0x35ffece5
+0, 18432, 18432, 1024, 4096, 0x1de801e2
+0, 19456, 19456, 1024, 4096, 0xa1a40372