History

tests/fate/filter-audio: add aloop test

Marton Balint committed 2 years ago

Commit 4100a2d1 parent f5948542 files · +48 −0Browse files

Unified · Split

2 files
  1. tests/fate/filter-audio.mak +3 −0
  2. tests/ref/fate/filter-aloop +45 −0
tests/fate/filter-audio.mak+3−0
@@ -418,6 +418,9 @@ fate-filter-atempo: CMD = pcm -i $(TARGET_PATH)/tests/data/asynth-44100-1.wav -a · 417 unmodified lines
418418 fate-filter-atempo: CMP = oneoff
419419 fate-filter-atempo: REF = $(SAMPLES)/filter-reference/atempo.pcm
420420
421+fate-filter-aloop: CMD = framecrc -filter_complex "sine=r=48000:f=480:d=4,aloop=loop=4:start=48000:size=48000,asetnsamples=9600"
422+FATE_AFILTER-$(call ALLYES, SINE_FILTER ALOOP_FILTER ASETNSAMPLES_FILTER PCM_S16LE_ENCODER FRAMECRC_MUXER PIPE_PROTOCOL) += fate-filter-aloop
423+
421424 fate-filter-crazychannels: tests/data/filtergraphs/crazychannels
422425 fate-filter-crazychannels: CMD = framecrc -auto_conversion_filters -/filter_complex $(TARGET_PATH)/tests/data/filtergraphs/crazychannels
423426 FATE_AFILTER-$(call FILTERFRAMECRC, ARESAMPLE SINE JOIN ATRIM CHANNELMAP CHANNELSPLIT) += fate-filter-crazychannels
tests/ref/fate/filter-aloop+45−0
@@ -0,0 +1,45 @@
1+#tb 0: 1/48000
2+#media_type 0: audio
3+#codec_id 0: pcm_s16le
4+#sample_rate 0: 48000
5+#channel_layout_name 0: mono
6+0, 0, 0, 9600, 19200, 0x1476501c
7+0, 9600, 9600, 9600, 19200, 0x1476501c
8+0, 19200, 19200, 9600, 19200, 0x1476501c
9+0, 28800, 28800, 9600, 19200, 0x1476501c
10+0, 38400, 38400, 9600, 19200, 0x1476501c
11+0, 48000, 48000, 9600, 19200, 0x1476501c
12+0, 57600, 57600, 9600, 19200, 0x1476501c
13+0, 67200, 67200, 9600, 19200, 0x1476501c
14+0, 76800, 76800, 9600, 19200, 0x1476501c
15+0, 86400, 86400, 9600, 19200, 0x1476501c
16+0, 96896, 96896, 9600, 19200, 0x1476501c
17+0, 106496, 106496, 9600, 19200, 0x1476501c
18+0, 116096, 116096, 9600, 19200, 0x1476501c
19+0, 125696, 125696, 9600, 19200, 0x1476501c
20+0, 135296, 135296, 9600, 19200, 0x1476501c
21+0, 144896, 144896, 9600, 19200, 0x1476501c
22+0, 154496, 154496, 9600, 19200, 0x1476501c
23+0, 164096, 164096, 9600, 19200, 0x1476501c
24+0, 173696, 173696, 9600, 19200, 0x1476501c
25+0, 183296, 183296, 9600, 19200, 0x1476501c
26+0, 192896, 192896, 9600, 19200, 0x1476501c
27+0, 202496, 202496, 9600, 19200, 0x1476501c
28+0, 212096, 212096, 9600, 19200, 0x1476501c
29+0, 221696, 221696, 9600, 19200, 0x1476501c
30+0, 231296, 231296, 9600, 19200, 0x1476501c
31+0, 240896, 240896, 9600, 19200, 0x1476501c
32+0, 250496, 250496, 9600, 19200, 0x1476501c
33+0, 260096, 260096, 9600, 19200, 0x1476501c
34+0, 269696, 269696, 9600, 19200, 0x1476501c
35+0, 279296, 279296, 9600, 19200, 0x1476501c
36+0, 288896, 288896, 9600, 19200, 0x1476501c
37+0, 298496, 298496, 9600, 19200, 0x1476501c
38+0, 308096, 308096, 9600, 19200, 0x1476501c
39+0, 317696, 317696, 9600, 19200, 0x1476501c
40+0, 327296, 327296, 9600, 19200, 0x1476501c
41+0, 336896, 336896, 9600, 19200, 0x1476501c
42+0, 346496, 346496, 9600, 19200, 0x1476501c
43+0, 356096, 356096, 9600, 19200, 0x1476501c
44+0, 365696, 365696, 9600, 19200, 0x1476501c
45+0, 375296, 375296, 9600, 19200, 0x1476501c

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t