Displaying 1 result from an estimated 1 matches for "decoded_sampl".
Did you mean:
decoded_samples
2004 Sep 10
2
flac_read callback not called in Windows?
...lac_update(int param, INT16 *buffer, int length)
{
FLAC__bool res = true;
fprintf(stderr, "start flac_update...");
//TODO: check for playing? probably a better way to stop the sound
if(laserdisc_playing)
{
while(length && res)
{
// need to decode some more data
if(!decoded_samples)
{
// fprintf(stderr, "start flac_seekable_decoder_process...");
/*fprintf(stderr, "stat %d should be %d\n ",
FLAC__seekable_stream_decoder_get_state(flacDecoder),
FLAC__STREAM_DECODER_SEARCH_FOR_FRAME_SYNC);
*/
res = FLAC__seekable_stream_decoder_pro...