search for: process_whole_stream

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

2004 Sep 10
1
Unexpected writeCallback() calls
Hello! I've recently written a FLAC input plugin which uses the seekable stream decoder API of libFLAC 1.02. It works so far, but one thing is pretty annoying and should be changed in future libFLAC versions, IMHO: The writeCallback is not only called after functions which do decoding (like process_whole_stream(), process_one_frame() or process_remaining_frames()), ie. where one expects that new data arrives. Instead, also functions like seek_absolute() can create decoded data. I think that generating new data should be restricted to the three functions mentioned above, because it would make libFLAC easie...