.aac file support

Kyle gonemad at gmail.com
Fri Aug 2 21:54:14 UTC 2013


Aac is not an alias for m4a. Aac is used for adts which is raw aac not in
an mp4 wrapper
On Aug 2, 2013 5:47 PM, "Dale Luck" <d.luck at ieee.org> wrote:

> Hi,
> I've developed a single patch that adds .aac files as an alias for .m4a
> Would you consider adding it to the release?
> thanks
> *** /dev/null    2013-08-02 13:52:57.970592857 -0700
> --- taglib-1.8/taglib/fileref.cpp    2012-09-06 11:03:15.000000000 -0700
> ***************
> *** 152,157 ****
> --- 152,158 ----
>     l.append("spx");
>     l.append("tta");
>     l.append("m4a");
> +   l.append("aac"); // alias for m4a
>     l.append("m4r");
>     l.append("m4b");
>     l.append("m4p");
> ***************
> *** 254,260 ****
>         return new Ogg::Speex::File(fileName, readAudioProperties,
> audioPropertiesStyle);
>       if(ext == "TTA")
>         return new TrueAudio::File(fileName, readAudioProperties,
> audioPropertiesStyle);
> !     if(ext == "M4A" || ext == "M4R" || ext == "M4B" || ext == "M4P" ||
> ext == "MP4" || ext == "3G2")
>         return new MP4::File(fileName, readAudioProperties,
> audioPropertiesStyle);
>       if(ext == "WMA" || ext == "ASF")
>         return new ASF::File(fileName, readAudioProperties,
> audioPropertiesStyle);
> --- 255,261 ----
>         return new Ogg::Speex::File(fileName, readAudioProperties,
> audioPropertiesStyle);
>       if(ext == "TTA")
>         return new TrueAudio::File(fileName, readAudioProperties,
> audioPropertiesStyle);
> !     if(ext == "M4A" || ext == "M4R" || ext == "M4B" || ext == "M4P" ||
> ext == "MP4" || ext == "3G2" || ext == "AAC")
>         return new MP4::File(fileName, readAudioProperties,
> audioPropertiesStyle);
>       if(ext == "WMA" || ext == "ASF")
>         return new ASF::File(fileName, readAudioProperties,
> audioPropertiesStyle);
>
>
> _______________________________________________
> taglib-devel mailing list
> taglib-devel at kde.org
> https://mail.kde.org/mailman/listinfo/taglib-devel
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/taglib-devel/attachments/20130802/476ae302/attachment.html>


More information about the taglib-devel mailing list