I quickly looked through the sample code and mad.h and I didn't see any facility for seeking. I know I am probably just being blind right now... but how does one seek in a stream?
On Jun 21, 2005, at 4:45 AM, Vadim Berezniker wrote:
I quickly looked through the sample code and mad.h and I didn't see any facility for seeking. I know I am probably just being blind right now... but how does one seek in a stream?
Seeking is all up to you; load the data from your seek location, call mad_stream_buffer(), and go. For some tips, see:
http://www.mars.org/mailman/public/mad-dev/2001-August/000321.html
Note that the low-level API is better suited than the high-level one for this amount of control.