C4 Engine
C4 Engine API Documentation

Sound::GetSoundFlags

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

uint32 GetSoundFlags(voidconst;

Description
The GetSoundFlags function returns the sound flags, which can be a combination (through logical OR) of the following constants.
kSoundPersistent The sound object continues to exist after it finishes playing.
kSoundSpatialized The sound is localized and 3D spatialization effects are applied. If this flag is not set, then all flags except kSoundPersistent are ignored.
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