[Vorbis-dev] Total uncompressed size

Ralph Giles giles at xiph.org
Fri Sep 2 15:49:44 PDT 2005


On Sat, Sep 03, 2005 at 12:04:02AM +0200, Michael Smith wrote:

> The only complicating factor is that to do this, libvorbisfile
> requires random access to the stream, so you'll need to implement seek
> callbacks. In turn, this basically means you need to unzip that entire
> ogg into a memory buffer and implement callbacks (which are very
> simple) to read/seek from the buffer. That's fine, so long as the
> extra memory overhead of temporarily having the entire compressed ogg
> (as well as the decompressed pcm) in memory at the same time isn't an
> issue.

Or write smarter read/seek callbacks, obviously.

 -r


More information about the Vorbis-dev mailing list