<p dir="ltr">Aac is not an alias for m4a. Aac is used for adts which is raw aac not in an mp4 wrapper</p>
<div class="gmail_quote">On Aug 2, 2013 5:47 PM, "Dale Luck" <<a href="mailto:d.luck@ieee.org">d.luck@ieee.org</a>> wrote:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="ltr"><div><div><div>Hi,<br></div>I've developed a single patch that adds .aac files as an alias for .m4a<br></div>Would you consider adding it to the release?<br></div>thanks<br>*** /dev/null 2013-08-02 13:52:57.970592857 -0700<br>
--- taglib-1.8/taglib/fileref.cpp 2012-09-06 11:03:15.000000000 -0700<br>***************<br>*** 152,157 ****<br>--- 152,158 ----<br> l.append("spx");<br> l.append("tta");<br> l.append("m4a");<br>
+ l.append("aac"); // alias for m4a<br> l.append("m4r");<br> l.append("m4b");<br> l.append("m4p");<br>***************<br>*** 254,260 ****<br> return new Ogg::Speex::File(fileName, readAudioProperties, audioPropertiesStyle);<br>
if(ext == "TTA")<br> return new TrueAudio::File(fileName, readAudioProperties, audioPropertiesStyle);<br>! if(ext == "M4A" || ext == "M4R" || ext == "M4B" || ext == "M4P" || ext == "MP4" || ext == "3G2")<br>
return new MP4::File(fileName, readAudioProperties, audioPropertiesStyle);<br> if(ext == "WMA" || ext == "ASF")<br> return new ASF::File(fileName, readAudioProperties, audioPropertiesStyle);<br>
--- 255,261 ----<br> return new Ogg::Speex::File(fileName, readAudioProperties, audioPropertiesStyle);<br> if(ext == "TTA")<br> return new TrueAudio::File(fileName, readAudioProperties, audioPropertiesStyle);<br>
! if(ext == "M4A" || ext == "M4R" || ext == "M4B" || ext == "M4P" || ext == "MP4" || ext == "3G2" || ext == "AAC")<br> return new MP4::File(fileName, readAudioProperties, audioPropertiesStyle);<br>
if(ext == "WMA" || ext == "ASF")<br> return new ASF::File(fileName, readAudioProperties, audioPropertiesStyle);<br><div><div><br></div></div></div>
<br>_______________________________________________<br>
taglib-devel mailing list<br>
<a href="mailto:taglib-devel@kde.org">taglib-devel@kde.org</a><br>
<a href="https://mail.kde.org/mailman/listinfo/taglib-devel" target="_blank">https://mail.kde.org/mailman/listinfo/taglib-devel</a><br>
<br></blockquote></div>