AmbientAudioManager Class Reference#include <ambientAudioManager.h>
Detailed Description
The AmbientAudioManager manages varying the properties of audio emitters based on the player's position.
It not only provides a notion of "outside"-ness and "inside"-ness to Torque's sound library, but it also varies sounds based on the powered status of interiors, and plays the PowerUp/PowerDown sounds as needed.
AudioEmitters automatically add themselves to the AmbientAudioManager, see AudioEmitter::onAdd() and AudioEmitter::onRemove(). update() is called in clientProcess(), and gAmbientAudioManager stores the global reference to the AmbientAudioManager.
Constructor & Destructor Documentation
| AmbientAudioManager::AmbientAudioManager |
( |
|
) |
|
|
Member Function Documentation
| void AmbientAudioManager::updateEnvironment |
( |
|
) |
[private] |
|
| void AmbientAudioManager::stopInteriorAudio |
( |
|
) |
[private] |
|
| void AmbientAudioManager::update |
( |
|
) |
|
|
Field Documentation
|