• Home
  • Raw
  • Download

Lines Matching +full:valgrind +full:-

1 #!/bin/sh -e
3 # FLAC - Free Lossless Audio Codec
4 # Copyright (C) 2002-2009 Josh Coalson
5 # Copyright (C) 2011-2022 Xiph.Org Foundation
9 # are distributed under Xiph.Org's BSD-like license (see the file
27 if echo a | (grep -E '(a|b)') >/dev/null 2>&1
28 then EGREP='grep -E'
32 testdir="metaflac-test-files"
38 …echo "valgrind --leak-check=yes --show-reachable=yes --num-callers=50 flac $*" >>test_replaygain.v…
39valgrind --leak-check=yes --show-reachable=yes --num-callers=50 --log-fd=4 flac --no-error-on-comp…
41 flac${EXE} --no-error-on-compression-fail $*
48 …echo "valgrind --leak-check=yes --show-reachable=yes --num-callers=50 metaflac $*" >>test_replayga…
49valgrind --leak-check=yes --show-reachable=yes --num-callers=50 --log-fd=4 metaflac $* 4>>test_rep…
57 if [ -z "$SILENT" ] ; then
61 …echo "valgrind --leak-check=yes --show-reachable=yes --num-callers=50 metaflac $*" >>test_replayga…
62valgrind --leak-check=yes --show-reachable=yes --num-callers=50 --log-fd=4 metaflac $* 2>/dev/null…
71 run_flac --silent --test $flacfile || die "ERROR in $flacfile" 1>&2
76--silent --force --verify -0 --input-size=$bytes --output-name=$flacfile --force-raw-format --endi…
84 # Replay gain tests - Test the rates which have specific filter table entries
89 …flac${EXE} --force --output-name=$2 --silent --no-seektable --no-error-on-compression-fail rpg-ton…
93 REPLAYGAIN_FREQ="$REPLAYGAIN_FREQ 8000/-12.73"
94 REPLAYGAIN_FREQ="$REPLAYGAIN_FREQ 11025/-12.91"
95 REPLAYGAIN_FREQ="$REPLAYGAIN_FREQ 12000/-12.98"
96 REPLAYGAIN_FREQ="$REPLAYGAIN_FREQ 16000/-13.27"
97 REPLAYGAIN_FREQ="$REPLAYGAIN_FREQ 18900/-13.41"
98 REPLAYGAIN_FREQ="$REPLAYGAIN_FREQ 22050/-13.77"
99 REPLAYGAIN_FREQ="$REPLAYGAIN_FREQ 24000/-13.82"
100 REPLAYGAIN_FREQ="$REPLAYGAIN_FREQ 28000/-14.06"
101 REPLAYGAIN_FREQ="$REPLAYGAIN_FREQ 32000/-14.08"
102 REPLAYGAIN_FREQ="$REPLAYGAIN_FREQ 36000/-14.12"
103 REPLAYGAIN_FREQ="$REPLAYGAIN_FREQ 37800/-14.18"
104 REPLAYGAIN_FREQ="$REPLAYGAIN_FREQ 44100/-14.17"
105 REPLAYGAIN_FREQ="$REPLAYGAIN_FREQ 48000/-14.16:1:2:4"
107 set -e
110 if [ -n "${ACTION##*:*}" ] ; then
118 while [ -n "$HARMONICS" ] ; do
126 [ $MULTIPLE -eq 1 -o -n "${REPLAYGAIN_FREQ##* $RATE/*}" ] || break
129 run_metaflac --scan-replay-gain $flacfile
130 run_metaflac --add-replay-gain $flacfile
131 run_metaflac --list $flacfile | grep "REPLAYGAIN.*GAIN=" |
132 while read -r REPLAYGAIN ; do
144 rm -f $testdir/out.flac $testdir/out.meta