Hello Mad List,
I am working on a project that uses libmad to decode mp3s, one requirement for the project is for rewinding or fast forwarding to a particular frame at any point in the playback.
What is the preferred way to do that?
Currently I set a variable when skipping forward that disables the write to output (which is libao). It works but I get a bunch of alsa underun errors (Not a libmad problem though). What bothers me more though is when I want to rewind I have to re-initialize the song and skip to the frame that is needed. That seems very inefficient to me. Is there a better way?
Thanks for any advice, Adam Magaluk