Displaying 3 results from an estimated 3 matches for "decoderwritecallback".
2013 Jul 01
2
About Decode Streaming
Sorry, I am newbie.
Sample codes are from
https://github.com/oneman/libflac/tree/master/examples/cpp.
I used FLAC__stream_decoder_process_single function but it still gives
exception. Maybe I could not control read callback, you're right.
I will check it and write result in this thread.
Thanks for help.
2013/7/1 Martijn van Beurden <mvanb1 at gmail.com>
> I'll top-post this
2013 Jul 02
0
About Decode Streaming
Hi again,
I can not solve problem. I want to mention my source code, so you may
answer easily.
This is decoder init stream function.
*FLAC__stream_decoder_init_stream(m_decoder, decoderReadCallback, NULL,
NULL, NULL, NULL, decoderWriteCallback, NULL, decoderErrorCallback,
input_pile_array);*
*
*
Then, callbacks
*
*
/// \brief read callback function of decoder
FLAC__StreamDecoderReadStatus decoderReadCallback(const FLAC__StreamDecoder
*decoder,
FLAC__byte buffer[],
size_t *bytes,
void *callback_param
);
/// \brief write callback fu...
2013 Jul 02
2
About Decode Streaming
...orcunozkablan at gmail.com>
> Hi again,
>
> I can not solve problem. I want to mention my source code, so you may
> answer easily.
>
> This is decoder init stream function.
>
> *FLAC__stream_decoder_init_stream(m_decoder, decoderReadCallback, NULL,
> NULL, NULL, NULL, decoderWriteCallback, NULL, decoderErrorCallback,
> input_pile_array);*
> *
> *
> Then, callbacks
> *
> *
> /// \brief read callback function of decoder
> FLAC__StreamDecoderReadStatus decoderReadCallback(const
> FLAC__StreamDecoder *decoder,
> FLAC__byte buffer[],
> size_t *bytes,...