C4 Engine
C4 Engine API Documentation

SoundMgr::SetGlobalSoundSpeed

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

void SetGlobalSoundSpeed(float speed);

Parameters
speed The new speed of sound, in units of meters per second.
Description
The SetGlobalSoundSpeed function sets the global speed of sound. This speed is used in calculations involving the Doppler effect and distance delays. The default speed of sound is 343.0 m/s.
See Also

SoundMgr::GetGlobalSoundSpeed

Sound::SetSoundFlags