Hello, Flac is great and I have encoded all my "good" CDs into it!
Now I want to extend an existing application able to decode mp3 and ogg vorbis to replay flac as well. It is a plugin to a set top box application on Linux (VDR). The existing code decodes into a mad_pcm structure using mad fixed point format (mad_fixed_t). I have read the API of libFlac++ and I understand what I have to do in general. However there are two issues I'm unsure about: - Do I need to convert the decoded audio data delivered to the FileDecoderWriteCallback to be compatible with mad_pcm/mad_fixed_t data? - The mad_pcm structure expects 1152 samples per channel. How Do I obtain 1152 samples from the Flac decoder? Any help is appreciated, Lars ------------------------------------------------------- This SF.Net email is sponsored by BEA Weblogic Workshop FREE Java Enterprise J2EE developer tools! Get your free copy of BEA WebLogic Workshop 8.1 today. http://ads.osdn.com/?ad_id=5047&alloc_id=10808&op=click _______________________________________________ Flac-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/flac-users