Mathieu Dube wrote:
> is there a way one can skip a frame in a stream instead of doing
> mad_frame_decode. Coz I need to make a jump ahead but it takes too much time
> if I just wait for the say 10 seconds to pass without writing to /dev/dsp
> but still decoding.
> I dont know if I attacking the problem in a good way thus any
> suggestions are welcome.
Yes, you can call mad_header_decode() instead. This will only decode the frame
header, without decoding the frame's audio data.
This sort of discussion really belongs on mad-dev rather than mad-user; I've
attempted to set the Reply-To: appropriately.
--
Rob Leslie
rob(a)mars.org