[Flac-users] Embedding the decoder... Sample code?
Josh Coalson
xflac at yahoo.com
Thu Jan 16 08:18:08 PST 2003
--- Daniel Tartaglia <daniel_t at earthlink.net> wrote:
> I'm looking for sample code for using flac in my program. I want to
> be
> able to decode a flac file to PCM. Something like:
>
> bool decodeFile( const char* pathNameOfFile, voud** data );
>
> How would I complete the above function?
Have you seen the API documentation? The process for the
file decoder is described here:
http://flac.sourceforge.net/api/group__flac__file__decoder.html#_details
There is a C++ wrapper class that makes it even easier.
Josh
__________________________________________________
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com
More information about the Flac
mailing list