[Openal] about ogg compression

Mārtiņš Možeiko martins.mozeiko at gmail.com
Sat Dec 17 16:34:34 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
> 

Ok, thanks. Thats good! Now follows my next question:

Where can I find compiled OpenAL windows binary which supports Ogg 
Vorbis extension. I tried those on Creative site: OpenAL 1.1 and also 
SDK version. They doesn't support. At least alGetString(AL_EXTENSIONS) 
doesn't says anything about it, and two .dll files installed haven't ogg 
or vorbis strings in them.

When I looked in source code in CVS, there isn't ogg suport at all in 
win directory (but for example linux have), am I right?

--
Mārtiņš Možeiko



More information about the Openal mailing list