On Thu, Sep 20, 2001 at 07:39:39PM -0400, Joe Drew wrote:
At this point, I've implemented an array of pointers to each of the frame boundaries (which I calculate, since the high-level API doesn't give me this information), and I know very easily how to fast-forward through an mp3 (that is, just skip frames.)
Do you have a formula that does this accurately? For example for a 128 Kbit stream a frame is sometimes 417 and other times 418 bytes long (padding?). For my application I need to jump to to the exact frame number, preferable without walking through the headers of each file (to build up the frame index).
Thanks, Andy