Newbie - How to skip backward in steam?
Jim Witte <[email protected]> Thu, 26 Jan 2006 23:47:08 -0500
| Newsgroups | gmane.comp.audio.mad.devel |
|---|---|
| Message-ID | <[email protected]> |
Hi, I'm working on the Apple Newton port of MAD. How do you get the player to skip backward in the stream? I can skip forward using mad_stream_skip, but it won't take negative offsets. I tried calling mad_stream_buffer again to restart the current buffer playing from the beginning, but this causes the sound to stop (this may be because of the way the Newton sound architecture operates - if MAD is unable to decode anything, the buffer back to the NOS is empty, and it shuts down the sound codec). Can I just set stream->this_frame and stream- >next_frame directly? What does stream_sync do? Thanks, Jim Witte [email protected]