Displaying 2 results from an estimated 2 matches for "pathnameoffile".
2004 Sep 10
3
[Flac-users] Embedding the decoder... Sample code?
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?
TIA
2004 Sep 10
0
[Flac-users] Embedding the decoder... Sample code?
--- Daniel Tartaglia <daniel_t@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...