A basic decoder for Apple Lossless Audio Codec files (ALAC).
ALAC is a proprietary lossless audio compression scheme.
Apple never released any documents on the format.
This package is a C implementation of a decoder, written from
reverse engineering the file format.
Although an encoder is not provided, by using the decoder as a sort
of specification it should be fairly trivial to write an encoder.
The program located here will not be able to handle all ALAC files,
it can only handle mono or stereo files. ALAC allows up to 8 channels.
The ALAC decoder supports both 16 and 24 bit sample sizes.
The decoder is fairly self explanatory, it can read an ALAC stream from
either a file or from stdin, and write it as raw PCM data or as a WAV
file to either stdout or a file.