Displaying 4 results from an estimated 4 matches for "group__flac__file__decoder".
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?
...; 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
2005 Jan 20
0
When to terminate decoding process ?
...ally the end of the file:
Samples decoded: 2220, current time: 292290, bits per sample: 16
Obtaining the decoder states after decoding this last block still looks
like decoding should go on. Instead, I had expected to receive a
FLAC__FILE_DECODER_END_OF_FILE
<http://flac.sourceforge.net/api/group__flac__file__decoder.html#a36a5>
when calling FLAC::Decoder::File
<http://flac.sourceforge.net/api/classFLAC_1_1Decoder_1_1File.html>::get_state().
Instead I obtain this:
Status of decoder: FLAC__FILE_DECODER_OK
Status of seekable stream decoder: FLAC__SEEKABLE_STREAM_DECODER_OK
Status of stream decoder:...
2005 Nov 11
3
how to include FLAC in a CoreAudio wave player
Hi everyone,
I'm still new at this audio development thing in OSX
as all of my prior experience is in database
applications. I'm also new to C++ and the Xcode
environment, which makes things interesting as I
learn.
There is a CoreAudio wave player written in C++ to
which I would like to add FLAC playback support. I
have looked through the libFLAC++ API and think I have
an idea of what