I know from [Sources], that FLAC computes CRC and MD5.
What I am afraid that flac --test only does CRC test - as stated in man flac : same as -d except no decoded file is written .
How to check flac file correctness, using MD5 of raw PCM placed in STREAMINFO in given .flac file ?
If flac --test makes job, are there any reliable (like in flac documentation) references that shows it?
Sources:
http://en.wikipedia.org/wiki/Free_Lossless_Audio_Codec we can find:
FLAC uses CRC checksums for identifying corrupted frames when used in a streaming protocol, and also has a complete MD5 hash of the raw PCM audio stored in its STREAMINFO metadata header.
http://flac.sourceforge.net/comparison.html
By default when processing files, flac computes the MD5 sum while encoding and decoding.
To see md5sums in STEAMINFO we can use:
$ metaflac --show-md5sum *.flac