[vlc-devel] [PATCH] Adding caf file demuxer module.

Matthias Keiser matthias at tristan-inc.com
Thu Sep 19 01:56:35 CEST 2013


This is a caf (Core Audio Format) file demuxer module. While VLC was able to play some caf files, most of them failed for me.
I tested this module with the following codecs:
LPCM (fixed): 16, 24, 32 bit (little and big endian, packed and unpacked, signed and unsigned).
LPCM (float): 32 bit float, both little and big endian. 64 bit float does NOT work properly, I'm not sure if this module is the problem or rather the codec module.
Compressed: IMA4, AAC, ALAC (AppleLossless), ulaw, alaw

TODO: handling the channel layout.

This is my first patch, please be thorough but gentle. ;)

The core audio file format specification is here: 
https://developer.apple.com/library/mac/documentation/MusicAudio/Reference/CAFSpec/CAF_intro/CAF_intro.html#//apple_ref/doc/uid/TP40001862-CH203-TPXREF101



More information about the vlc-devel mailing list