[Openal] Use of ALC_FREQUENCY property

Jim B. dfblogic-str at yahoo.com
Tue May 19 13:20:05 PDT 2009


[ We have OpenAL in beta test for the open source game, Alien Arena
(homepage: http://icculus.org/alienarena/rpa/
svn browse: http://svn.icculus.org/alienarena/ ).
It uses the crx engine, derived from the Quake 2 engine and runs
in Windows and Unix/Linux. So far, the testing is going well.
I have several questions, posted today under 3 separate
subjects. ]

The existing program allows menu selection of sound quality by setting the
maximum sampling rate. As near as I can tell, this is not useful in OpenAL. Is
it true that the ALC_FREQUENCY property is not settable in current OpenAL
implementations? Also, in the current versions, is it possible for
ALC_FREQUENCY to be anything other than 44100 KHz? It looks like OpenAL will
resample any file that is not at ALC_FREQUENCY when the Buffer is loaded. So,
there is no point in resampling before loading the Buffer -- correct? Also. I
am trying to decide if it would be worthwhile to check for ALC_FREQUENCY at
22050 KHz (or less) and low pass filter our 44100 KHz sound files.

Jim Bower

-------------- next part --------------
Skipped content of type multipart/alternative


More information about the Openal mailing list