GNOME Bugzilla – Bug 694443
libgstaudio: add support for AAC pass-through
Last modified: 2013-08-21 19:45:25 UTC
Created attachment 237174 [details] [review] libgstaudio: add support fo AAC passthrough Some S/PDIF receivers have AAC hardware decoders, and it would be nice if we could use AAC pass through just like AC3, DTS, etc. The attached patch adds AAC to the iec61937 payloading of libgstaudio, and I'm making another patch for pulsesink that uses this feature.
Looks fine. Are we just going to ignore the 960-samples-per-frame variant because it's not very common, or is that according to the spec?
I just read MPEG2 spec and refered to the source codes of FFmpeg because I don't have the AAC payloading spec IEC61937-6, so I didn't notice AAC-960. I guess the spec allows the 960 variant, but supporting it is difficult because of (my) lack of the necessary info and ADTS frame header lacking in the information on samples per frame. Should I drop MPEG4 related codes from the patch? Currently, my decoder accepts and plays some samples of MPEG4 AAC 1024 samples per frame variant, but not many cases are tested.
I think it's fine as it is for now: commit a32877125f0f70d74554d10a7a909f5b4e72f8e1 Author: Akihiro Tsukada <atsukada@users.sourceforge.net> Date: Fri Feb 22 21:02:19 2013 +0900 audio: add support for AAC pass-through https://bugzilla.gnome.org/show_bug.cgi?id=694443