Merge commit '364af376f343d4706c4cdb7ab9fe0863994e6c01'
* commit '364af376f343d4706c4cdb7ab9fe0863994e6c01': FATE: add lavr resampling tests The tests do not pass, and thus where disabled Merged-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
@ -22,5 +22,24 @@ FATE_LAVR_MIX-$(call FILTERDEMDECENCMUX, RESAMPLE, WAV, PCM_S16LE, PCM_S16LE, WA
|
|||||||
fate-lavr-mix: $(FATE_LAVR_MIX-yes)
|
fate-lavr-mix: $(FATE_LAVR_MIX-yes)
|
||||||
#FATE_LAVR += $(FATE_LAVR_MIX-yes)
|
#FATE_LAVR += $(FATE_LAVR_MIX-yes)
|
||||||
|
|
||||||
|
SAMPLERATES = 2626 8000 44100 48000 96000
|
||||||
|
|
||||||
|
define RESAMPLE
|
||||||
|
FATE_LAVR_RESAMPLE += fate-lavr-resample-$(3)-$(1)-$(2)
|
||||||
|
fate-lavr-resample-$(3)-$(1)-$(2): tests/data/asynth-$(1)-1.wav
|
||||||
|
fate-lavr-resample-$(3)-$(1)-$(2): CMD = ffmpeg -i $(TARGET_PATH)/tests/data/asynth-$(1)-1.wav -ar $(2) -internal_sample_fmt $(3) -f $(4) -af atrim=end_sample=10240 -
|
||||||
|
fate-lavr-resample-$(3)-$(1)-$(2): CMP = oneoff
|
||||||
|
fate-lavr-resample-$(3)-$(1)-$(2): REF = $(SAMPLES)/lavr/lavr-resample-$(3)-$(1)-$(2)
|
||||||
|
endef
|
||||||
|
|
||||||
|
$(call CROSS_TEST,$(SAMPLERATES),RESAMPLE,s16p,s16le)
|
||||||
|
$(call CROSS_TEST,$(SAMPLERATES),RESAMPLE,s32p,s32le)
|
||||||
|
$(call CROSS_TEST,$(SAMPLERATES),RESAMPLE,fltp,f32le)
|
||||||
|
$(call CROSS_TEST,$(SAMPLERATES),RESAMPLE,dblp,f64le)
|
||||||
|
|
||||||
|
FATE_LAVR_RESAMPLE-$(call FILTERDEMDECENCMUX, RESAMPLE, WAV, PCM_S16LE, PCM_S16LE, WAV) += $(FATE_LAVR_RESAMPLE)
|
||||||
|
fate-lavr-resample: $(FATE_LAVR_RESAMPLE-yes)
|
||||||
|
#FATE_LAVR += $(FATE_LAVR_RESAMPLE-yes)
|
||||||
|
|
||||||
FATE_SAMPLES_AVCONV += $(FATE_LAVR)
|
FATE_SAMPLES_AVCONV += $(FATE_LAVR)
|
||||||
fate-lavr: $(FATE_LAVR)
|
fate-lavr: $(FATE_LAVR)
|
||||||
|
Reference in New Issue
Block a user