.aac file support

Dale Luck d.luck at ieee.org
Fri Aug 2 21:46:46 UTC 2013


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);
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/taglib-devel/attachments/20130802/26520c61/attachment.html>


More information about the taglib-devel mailing list