diff --git a/tests/fate/filter-audio.mak b/tests/fate/filter-audio.mak index eee0209c59..b244f82bb7 100644 --- a/tests/fate/filter-audio.mak +++ b/tests/fate/filter-audio.mak @@ -259,6 +259,11 @@ fate-filter-aresample: CMD = pcm -analyzeduration 10000000 -i $(SRC) -af aresamp fate-filter-aresample: CMP = oneoff fate-filter-aresample: REF = $(SAMPLES)/nellymoser/nellymoser-discont.pcm +FATE_AFILTER-$(call FILTERDEMDECENCMUX, ASELECT, WAV, PCM_S16LE, PCM_S16LE, WAV) += fate-filter-aselect +fate-filter-aselect: tests/data/asynth-44100-2.wav +fate-filter-aselect: SRC = $(TARGET_PATH)/tests/data/asynth-44100-2.wav +fate-filter-aselect: CMD = framecrc -i $(SRC) -af "aselect=gte(t\,1)*lt(t\,2)" + FATE_ATRIM += fate-filter-atrim-duration fate-filter-atrim-duration: CMD = framecrc -i $(SRC) -af atrim=start=0.1:duration=0.01 FATE_ATRIM += fate-filter-atrim-mixed diff --git a/tests/ref/fate/filter-aselect b/tests/ref/fate/filter-aselect new file mode 100644 index 0000000000..7d2192e227 --- /dev/null +++ b/tests/ref/fate/filter-aselect @@ -0,0 +1,16 @@ +#tb 0: 1/44100 +#media_type 0: audio +#codec_id 0: pcm_s16le +#sample_rate 0: 44100 +#channel_layout_name 0: stereo +0, 45056, 45056, 4096, 16384, 0xe92bd835 +0, 49152, 49152, 4096, 16384, 0x1126dca3 +0, 53248, 53248, 4096, 16384, 0x9647edcf +0, 57344, 57344, 4096, 16384, 0x5cc345aa +0, 61440, 61440, 4096, 16384, 0x19d7bd51 +0, 65536, 65536, 4096, 16384, 0x19eccef7 +0, 69632, 69632, 4096, 16384, 0x4b68eeed +0, 73728, 73728, 4096, 16384, 0x0b3d1bfc +0, 77824, 77824, 4096, 16384, 0xe9b2e069 +0, 81920, 81920, 4096, 16384, 0xcaa5590e +0, 86016, 86016, 4096, 16384, 0x47d0b227