Logo Search packages:      
Sourcecode: blender version File versions

virtual void SND_IAudioDevice::SetDopplerFactor ( MT_Scalar  dopplerfactor  )  const [pure virtual]

set a scaling to exaggerate or deemphasize the Doppler (pitch) shift resulting from the calculation. f' = DOPPLER_FACTOR * f * (DOPPLER_VELOCITY - Listener_velocity )/(DOPPLER_VELOCITY + object_velocity )

Parameters:
dopplerfactor scaling factor for doppler effect

Implemented in SND_DummyDevice, and SND_FmodDevice.


Generated by  Doxygen 1.6.0   Back to index