Displaying 1 result from an estimated 1 matches for "seek_t".
Did you mean:
seek_4
2015 Jun 16
0
Low-level seek routines in libFLAC
...odify libFLAC in a way that it doesn't call any user callbacks while performing seeking. Although I added a dirty hack for asynchronous read() to work, my first goal here is to discuss with you a low-level seek() interface.
It's quite clear what we need to do here: just split the function seek_to_absolute_sample_() into 2 public functions (they are shown below). seek_to_absolute_sample_() can be easily modified to use those functions, and we won't change its behaviour.
The user code that uses those functions might look like this:
void foo()
{
FLAC__uint64 offset;
FLAC__stream_d...