Efika 5200B Project
Reggae on Efikain category Multimedia
proposed by Grzegorz Kraszewski on 21st February 2006 (accepted on 20th March 2006)
posted by Grzegorz Kraszewski on 6th August 2008
aiff.demuxer has been revisited lately. Now it not only handles uncompressed AIFF files, but also AIFC. I've been sent some AIFC file which seemed to be uncompressed. It uses 'sowt' codec, which is not really a codec. It is just a clever way Apple invented to store little-endian samples. Seems to be used in x86 Mac OS X.
As audiopcm.decoder handles 16, 24 and 32-bit little endian streams already, there was not much work to do. However I've redesigned IFF chunk parser and moved it into a separate linklib. Its flexible design allows me to use it not only for IFF files, but also RIFF (with 64-bit extension) and other chunk-based formats like PNG. Then I've just added parsing of FVER chunk and extended COMM chunk. Now I can handle any AIFC codec assuming I have a decoder class. For 'sowt' a decoder has been ready, and it works flawlessly.