Game Development Community

Info on AudioEnvironment?

by Daniel Buckmaster · in Torque Game Engine · 04/23/2011 (12:38 am) · 2 replies

I've just stumbled across the AudioEnvironment class in TGE 1.5. It seems to be used by the WaterBlock to provide sound changes when the camera is submerged - which is an awesome idea - but the code inside alxSetEnvironment is commented out. Anyone know why? I've half a mind to uncomment it and see what breaks, but I don't want to veer off on that particular coding tangent right now ;P.

About the author

Studying mechatronic engineering and computer science at the University of Sydney. Game development is probably my most time-consuming hobby!


#1
05/03/2011 (8:42 am)
The problem is that the AL extensions do not exist in OpenAL. The EAX implementation in TGE is probably a throwback from the days of Miles for Tribes2, or it could be a very old version of OpenAL.
#2
05/03/2011 (11:37 am)
Reading up on it some more, the EAX IASIG environment extensions are obsolete. Your best bet is to update OpenAL and use EFX instead, but there is no telling how difficult it would be to do so.