[Vorbis-dev] Re: Total uncompressed size

Adam D. Moss aspirin at ntlworld.com
Tue Sep 6 12:14:07 PDT 2005


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.

Fortunately zip files support 'stored' (uncompressed) records
which are eminantly seekable - ogg files don't usually compress
very well anyway.

Regards,
--Adam



More information about the Vorbis-dev mailing list