Re: seeking in stream

Rob Leslie <[email protected]> Tue, 21 Jun 2005 10:05:55 -0700
Newsgroups gmane.comp.audio.mad.devel
Message-ID <[email protected]>
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.

-- 
Rob Leslie
[email protected]