I've just noticed that Foobar2000 0.9.4.3 (which uses FAAD2) can now handle iTunes encoded AAC gaplessly. However foobar is mostly closed source so I don't know if it's in the mainline FAAD2 code or if it's something that they have added to it.Maurits wrote:FAAD is actually a pretty decent decoder, when talking about features. It support more than just the AAC-LC profile that CoreAudio supports at the time. I believe there is some license controversy about it though. When the time comes to think about implementing it, I think we should have a separate topic on FAAD to discuss this.sbooth wrote: Regarding gapless AAC, I'm not sure this is likely with the CoreAudio AAC decoder. Perhaps if I wrote my own AAC decoder (using faad?) this would be an option. Currently Play supports gapless for LAME MP3, Vorbis, FLAC, PCM formats, and Apple Lossless.
Unfortunately Foobar using FAAD2 not under the GPL but by special agreement with Ahead Software under a different license which they don't disclose the terms of.
The problem with FAAD2 is that the copyright is owned by Ahead. They originally published it under the GPL then at some point in 2005 they modified the license such that it was a modified GPL that was incompatible with the GPL.
The problem is they added
** Software using this code must display the following message visibly in or
** on each copy of the software:
** "FAAD2 AAC/HE-AAC/HE-AACv2/DRM decoder (c) Nero AG, http://www.nero.com"
** in, for example, the about-box or help/startup screen.
to most of their files which represents an additional restriction over and above the GPL. So you could use it but you'd then have to license Play under a modified form of the GPL rather than the GPL itself.
At this point all the opensource projects using it forked using the prelicense change version which unfortunately has serious bugs in it.
There is also the slight point that apple foot the bill for patent licenses for AAC for the CoreAudio decoder.
(There is a whole side issue of if it's against the license to distribute GPL licensed software which requires a patent license to actually compile and use which makes my brain hurt.)
However I would recommend you don't touch FAAD2 with a bargepole.
I'll just have to convert all my FLAC to lame encoded MP3 for my laptop which sounds almost as good as AAC anyway.