[flac-dev] flac-1.3.1pre1
Jan Stary
hans at stare.cz
Wed Nov 26 13:39:27 PST 2014
On Nov 25 00:43:22, mle+la at mega-nerd.com wrote:
> http://downloads.xiph.org/releases/flac/beta/
> Please test.
./test_replaygain.sh fails for me in tonegenerator(), saying:
./test_replaygain.sh[91]: mawk: not found
Testing FLAC replaygain 8000 (8000 x 1) ... -: ERROR: got partial sample
Apparently, the tone-generating awk script does not work with
my system's awk, which is "awk version 20110810" as distributed
with current OpenBSD 5.6 GENERIC.MP#610 amd64.
With mawk-1.3.4.20140914 it works fine
(and ./test_replaygain.sh passes).
Can anyone please shed some light on what's mawk-spacific
about that awk script? It seems to be just a sine-generator.
Here is the head of the hexdump of the two generated tones.
Notice how the 2501's are preceded by the 0000's with mawk.
awk:
0000000 0080 da00 7882 ffff daff 7882 0080 2500
0000010 877d 2501 877d ff7f daff 7882 ffff daff
0000020 7882 0080 2500 877d 2501 877d ff7f daff
0000030 7882 ffff daff 7882 0080 2500 877d 2501
0000040 877d ff7f daff 7882 ffff daff 7882 0080
0000050 2500 877d 2501 877d ff7f daff 7882 ffff
0000060 daff 7882 0080 2500 877d 2501 877d ff7f
0000070 daff 7882 ffff daff 7882 0080 2500 877d
0000080 2501 877d ff7f daff 7882 ffff daff 7882
0000090 0080 2500 877d 2501 877d ff7f daff 7882
mawk:
0000000 0080 da00 7882 ffff daff 7882 0080 2500
0000010 877d 0000 2501 877d ff7f daff 7882 ffff
0000020 daff 7882 0080 2500 877d 0000 2501 877d
0000030 ff7f daff 7882 ffff daff 7882 0080 2500
0000040 877d 0000 2501 877d ff7f daff 7882 ffff
0000050 daff 7882 0080 2500 877d 0000 2501 877d
0000060 ff7f daff 7882 ffff daff 7882 0080 2500
0000070 877d 0000 2501 877d ff7f daff 7882 ffff
0000080 daff 7882 0080 2500 877d 0000 2501 877d
0000090 ff7f daff 7882 ffff daff 7882 0080 2500
Jan
More information about the flac-dev
mailing list