Rahul Banerjee wrote:
> Hi,
>
> I am new to the usage of this mad library. I have a question regarding
> this. Is the fast forward playback of mp3 is supported with this library?
Well yes, sort of. libmad will simply decode a stream.
The burden is placed on the user however to direct the
decoder to whatever bits you'd like to decode. So to
implement fast fwd, trick play, etc.. you'll need to
point the decoder at the bits you'd like to render which
say constitute snippets of audio to be rendered from a
stream in fast forward.
This requires repositioning the stream pointer ahead in
the stream and rendering frames until you have an
error free decode and are synchronized. Render as much
of decoded output to the audio device for a single hop,
reposition the decoder in the stream and repeat.
-john
--
john.cooper@...