aboutsummaryrefslogtreecommitdiffstats
path: root/tests/fate/alac.mak
blob: d582d07ef2910cba249eed94f437742cb486d236 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
FATE_ALAC += fate-alac-16-level-0                                       \
             fate-alac-16-level-1                                       \
             fate-alac-16-level-2                                       \
             fate-alac-16-lpc-orders                                    \
             fate-alac-24-level-0                                       \
             fate-alac-24-level-1                                       \
             fate-alac-24-level-2                                       \
             fate-alac-24-lpc-orders                                    \

fate-alac-16-level-%:    OPTS = -compression_level $(@:fate-alac-16-level-%=%)
fate-alac-24-level-%:    OPTS = -compression_level $(@:fate-alac-24-level-%=%)
fate-alac-%-lpc-orders:  OPTS = -min_prediction_order 1 -max_prediction_order 30

fate-alac-16-%: REF = $(SAMPLES)/audio-reference/luckynight_2ch_44kHz_s16.wav
fate-alac-16-%: CMD = enc_dec_pcm mov wav s16le $(subst $(SAMPLES),$(TARGET_SAMPLES),$(REF)) -c alac $(OPTS)

fate-alac-24-%: REF = $(SAMPLES)/audio-reference/divertimenti_2ch_96kHz_s24.wav
fate-alac-24-%: CMD = enc_dec_pcm mov wav s24le $(subst $(SAMPLES),$(TARGET_SAMPLES),$(REF)) -c alac $(OPTS)

fate-alac-%: CMP = oneoff
fate-alac-%: FUZZ = 0

FATE_ALAC-$(call ENCDEC, ALAC, MOV, ARESAMPLE_FILTER) += $(FATE_ALAC)

FATE_SAMPLES_FFMPEG += $(FATE_ALAC-yes)
fate-alac: $(FATE_ALAC-yes)