Game Development Community

Anyone tried the updated OpenAL Lib?

by Matthew "Scandalon" Parsons · in Torque Game Engine · 08/21/2003 (4:46 pm) · 0 replies

(From
www.xlr8yourmac.com/archives/aug03/080803.html#S15957)

" If you check out Ryan's .plan today he released a new OpenAL lib for America's Army. It fixes the sound crash with the Revo 7.1 sound cards. It can also be used in UT2K3 for a slight performance boost:
Ryan's .plan
New Fix
-a2daj"

Here's the clip with Ryan's comments on the new OpenAL lib:

"Download, unpack with Stuffit Expander. You should get an "openal.dylib" file. Find your "Army Operations" icon, right-click/control-click it, and select "Show Package Contents" on the resulting popup menu. This brings up a window with folders like "Briefings", "StaticMeshes", etc. Find the "System" folder in there, and put the new openal.dylib file into "System". It should ask you about replacing a file: let it. Close the window. Next time you start the game, it should work with your Revolution 7.1 card.

Please note that this can be used to get you a better framerate in ut2003, too...we're still spending about 7% of our CPU time just feeding the audio device, which is not good. When I get around to the redesign I was threatening, that 7% should drop to more like 0.1%. Still, the current UT2003 version (which is a different codepath completely), is sitting at 20 to 25 percent right now, so it's still a clear win for all users, regardless of audio hardware, to use this.

Note that the 7% is spent in a separate thread, so dual CPU systems won't see as dramatic a benefit as single CPU systems. Also, certain codepaths will perform better due to Altivec optimizations on certain conditions...but it SHOULD still work and give a speed boost over the original version even on a G3.
--Ryan"