C4 Engine Terathon Software C4 Engine API Documentation

• Sound Manager

API Links
Developer Links

Sound::GetSoundFlags

Defined in:  C4Sound.h
Returns the sound flags.
Prototype

unsigned long GetSoundFlags(voidconst;

Description
The GetSoundFlags function returns the sound flags, which can be a combination (through logical OR) of the following values.
kSoundPersistent The sound object continues to exist after it finishes playing.
kSoundSpatialized The sound is localized and 3D spatialization effects are applied. All other flags are ignored if this is not set.
kSoundDopplerShift The Doppler effect is applied to the sound based on the velocity relative to the listener and the global speed of sound.
kSoundDistanceDelay The sound is delayed based on distance from the listener and the global speed of sound.
kSoundReverb Reflection and reverberation effects are applied to the sound based on the room properties associated with the sound.
kSoundCones The sound is directional, and cone attenuation is applied.
See Also

Sound::SetSoundFlags