[Flac-users] Embedding the decoder... Sample code?

Daniel Tartaglia daniel_t at earthlink.net
Fri Jan 17 14:29:02 PST 2003


So, I wrote the code to decompress a flac file using the C interface. 
Everything seems to work alright, except the sound doesn't play 
right... I have some questions about the write callback function...

Assuming a 16 bit mono sound, how should I copy the buffer out into my 
own buffer? Right now I'm simply copying the FLAC__int32* into my own 
FLAC__int32*...

Could this be an endian issue, or does FLAC take care of those.





More information about the Flac mailing list