SoundMgr::SetGlobalSoundSpeed
Defined in:
Sets the global speed of sound.
C4Sound.h
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