Le Monday 15 December 2008 17:25:28 Brandon Casci, vous avez écrit : > So if you playlist contains multiple formats (mp3, aac, wma, flac, wav...), > then it calls on an external decoder as needed? Does it test file formats > by the extension? (.mp3, .m4a,...)
No. File decoding is done per file. It consists of trying to fill a buffer with the decoder called on the file. No specific extension should be needed, but the mime type can be checked, in particular for the mp3 decoding, which can sometimes "succeed" in decoding a jpeg file for instance.. The first decoder that is able to fill the buffer is used for decoding the file, that's why the order matters (and also why MP3 is tested last). Romain ------------------------------------------------------------------------------ SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada. The future of the web can't happen without you. Join us at MIX09 to help pave the way to the Next Web now. Learn more and register at http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/ _______________________________________________ Savonet-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/savonet-users
