Displaying 1 result from an estimated 1 matches for "flac_update".
Did you mean:
fan_update
2004 Sep 10
2
flac_read callback not called in Windows?
...d links OK, but when it runs neither my flac_read, or
flac_write callback get called even though I call :
res = FLAC__seekable_stream_decoder_process_single(flacDecoder);
Has anyone else experienced this? What follows is the code I am using, my
program just sits looping in the while block in the flac_update function:
// callback for the stream
// we need to get length words from the flac decode into the buffer
static void flac_update(int param, INT16 *buffer, int length)
{
FLAC__bool res = true;
fprintf(stderr, "start flac_update...");
//TODO: check for playing? probably a better way...