Skip to content

flac

Planned, wave 2: FLAC decoding.

Status: planned (wave 2). No code exists. The package name is provisional. It is the smallest item of the organisation (size S).

What it will provide

FLAC decoding: frames, Rice coding, linear prediction, and the MD5 of the samples. Whether to import mewkiz/flac (Unlicense, decoder and encoder) or to port it is open.

References

SubjectReference
the formatRFC 9639, Free Lossless Audio Codec

How it will be validated

AreaCriterion
decodingexact equality of the decoded samples against the reference decoder, and the stream’s MD5 of samples matches
hostile inputgo test -fuzz for panics; a limit on the allocation a hostile header can ask for

Corpus: the IETF working group’s FLAC test files (CC0-1.0). Every item also needs unit tests at 100% coverage and a performance table against the reference.

Created on by tannevaled

Modified on by tannevaled