1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2024-12-23 12:43:46 +02:00

fate/lavf-audio: Add dfpwm test

Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
This commit is contained in:
Andreas Rheinhardt 2022-09-16 02:58:26 +02:00
parent 2069894bc1
commit fc5aef59bf
2 changed files with 5 additions and 0 deletions

View File

@ -14,6 +14,7 @@ FATE_LAVF_AUDIO-$(call ENCDEC, PCM_S16LE, W64) += w64
FATE_LAVF_AUDIO-$(call ENCDEC, TTA, TTA) += tta
FATE_LAVF_AUDIO-$(call ENCMUX, TTA, MATROSKA_AUDIO) += mka
FATE_LAVF_AUDIO_RESAMPLE-$(call ENCDEC, PCM_S16BE_PLANAR, AST) += ast
FATE_LAVF_AUDIO_RESAMPLE-$(call ENCDEC, DFPWM, DFPWM) += dfpwm
FATE_LAVF_AUDIO_RESAMPLE-$(call ENCDEC, PCM_U8, RSO) += rso
FATE_LAVF_AUDIO_RESAMPLE-$(call ENCDEC, PCM_S16LE, SOX) += sox
FATE_LAVF_AUDIO_RESAMPLE-$(call ENCDEC, PCM_U8, VOC) += voc
@ -28,6 +29,7 @@ $(FATE_LAVF_AUDIO): REF = $(SRC_PATH)/tests/ref/lavf/$(@:fate-lavf-%=%)
$(FATE_LAVF_AUDIO): $(AREF)
fate-lavf-al fate-lavf-ul: CMD = lavf_audio "" "" "-ar 44100"
fate-lavf-dfpwm: CMD = lavf_audio "" "" "-sample_rate 44100"
fate-lavf-ogg: CMD = lavf_audio "" "-c:a flac"
fate-lavf-s16.voc: CMD = lavf_audio "-ac 2" "-c:a pcm_s16le"
fate-lavf-ast: CMD = lavf_audio "-ac 2" "-loopstart 1 -loopend 10"

3
tests/ref/lavf/dfpwm Normal file
View File

@ -0,0 +1,3 @@
c216a2b5576f3e7f31516854bbb41eb8 *tests/data/lavf/lavf.dfpwm
5513 tests/data/lavf/lavf.dfpwm
tests/data/lavf/lavf.dfpwm CRC=0x226be6b3