[vorbis-dev] Uncompressed size in bytes
Kenneth Arnold
kcarnold at arnoldnet.net
Tue Jul 29 20:24:09 PDT 2003
Michael Smith wrote:
>On Wednesday 30 July 2003 07:43, Andrew Csikvari wrote:
>
>
>>Hi!
>>
>>I would like to decompress an ogg vorbis file from the memory to the
>>memory.
>>I wrote my own callbacks for it (Why isn't there callback functions for
>>it? Just for void* data, and a size_t size).
>>
>>
>
>Not sure what you mean here - there ARE callbacks for everything neccesary.
>
I think he means a predefined set of callbacks for reading from a memory
buffer, just like there are predefined callbacks currently for reading
from a file.
Also, speaking of stream length, make sure you implement the full 'seek'
and 'tell' callbacks -- the library needs to be able to know where the
compressed stream ends in order to figure out where the uncompressed
stream ends (although it goes through a little more work than that to
handle e.g. chained bitstreams).
Ken
--- >8 ----
List archives: http://www.xiph.org/archives/
Ogg project homepage: http://www.xiph.org/ogg/
To unsubscribe from this list, send a message to 'vorbis-dev-request at xiph.org'
containing only the word 'unsubscribe' in the body. No subject is needed.
Unsubscribe messages sent to the list will be ignored/filtered.
More information about the Vorbis-dev
mailing list