[Openal] about ogg compression
Garin Hiebert
garinh at cheesetoast.net
Sat Dec 17 14:32:49 PST 2005
>Does OpenAL decompresses ogg to pcm when loading data with
>alBufferData, or it is storing internally ogg compresed data and
>decompressing on the fly - when playing?
>
>
Any implementations supporting the Ogg Vorbis extension keep the data in
Ogg Vorbis format internally and decompress small chunks of it on the
fly -- to save memory... In some cases, there may be an optimization
where small Ogg Vorbis buffers are decompressed only once, but that
would only be for truly small buffers.
Garin
More information about the Openal
mailing list