C4 Engine
C4 Engine API Documentation

SoundMgr::GetGlobalSoundSpeed

Defined in:  C4Sound.h
Returns the global speed of sound.
Prototype

float GetGlobalSoundSpeed(voidconst;

Description
The GetGlobalSoundSpeed function returns the global speed. This speed is used in calculations involving the Doppler effect and distance delays. The return value is in units of meters per second. The default speed of sound is 343.0 m/s.
See Also

SoundMgr::SetGlobalSoundSpeed

Sound::SetSoundFlags