search for: mad_fixed_t

Displaying 2 results from an estimated 2 matches for "mad_fixed_t".

2004 Sep 10
2
[Flac-users] Extending mp3/ogg application to play flac
...d 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 structu...
2004 Sep 10
0
[Flac-users] Extending mp3/ogg application to play flac
--- Lars von Wedel <vonwedel@web.de> wrote: > 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? not sure about the mad_fixed_t format, but probably. all samples coming out of the FLAC decoder are linear PCM 32-bit signed ints. e.g. a sample from CD audio will be in the range -32768 (0xFFFF8000) to 32767 (0x00007FFF) > - The mad_pcm structure expects 1152 samples per channel....