[Scummvm-devel] Idea: IndexedMp3AudioStream

Michael Madsen michael at birdiesoft.dk
Fri Oct 8 14:06:33 CEST 2010



> -----Original Message-----
> From: Norbert Lange [mailto:lange at chello.at]
> Sent: Friday, October 08, 2010 1:42 PM
> To: Michael Madsen; yotam barnoy
> Cc: ScummVM devel
> Subject: Re: [Scummvm-devel] Idea: IndexedMp3AudioStream
> 
> >> ...but we also lose the ability to fine-tune how many data points we
> >> have. XING provides exactly 100 data points, whereas the ID3 solution
> >> can provide us with many more. Considering that we're mainly planning
> >> this for small, embedded devices with limited processing power, that
> >> extra bit of flexibility *might* be nice to have.
> >>
> >> Michael
> >>
> 0x100 datapoints =)

No, 100. It's all written in the link Max provided, http://www.codeproject.com/KB/audio-video/mpegaudioinfo.aspx; there are 100 TOC entries of 1 byte each.

> And between them you could do an linear approximation which should be good
> enough for background music and speech.
> It might be noticeable out of sync if its supposed to be played together
> with a video-stream tough.
> There was an solution by Fraunhofer aswell, with a variable number of
> seekpoints, I`d need to google it up.

That would most likely be VBRI, also mentioned in Max' link. That solution might actually be slightly more complex than an ID3 solution.

Michael





More information about the Scummvm-devel mailing list