search for: eofcallback

Displaying 1 result from an estimated 1 matches for "eofcallback".

Did you mean: eof_callback
2004 Sep 10
1
seek problem
...function is never used, but as soon as I seek around in a sample (ie. call seek_absolute() with an offset != 0), I cannot detect the end of a file anymore. decoder_get_state() never returns FLAC__SEEKABLE_STREAM_DECODER_END_OF_STREAM in this case. First I thought that this might be a problem of my eofCallback, but the last file offset where this callback is called is 0x013788f7, but the flac file is 0x01382598 bytes long (ie. there's no reason for my callback to return true). When I don't seek, the last offset where my eof routine is called is 0x0137b936 and decoder_get_state() properly returns...