Previous Topic Index Next Topic
[API function]

FSOUND_3D_Listener_SetDopplerFactor

Sets the doppler shift scale factor.

void F_API FSOUND_3D_Listener_SetDopplerFactor(
float scale
);

Parameters

scale Doppler shift scale. Default value for FSOUND is 1.0f

Return Value

void

Remarks

This is a general scaling factor for how much the pitch varies due to doppler shifting.
Increasing the value above 1.0 exaggerates the effect, whereas lowering it reduces the
effect. 0 removes the effect all together.
FMOD's speed of sound at a DopplerFactor of 1.0 is 340 m/s.

See Also

FSOUND_3D_Listener_GetAttributes , FSOUND_3D_Listener_SetAttributes , FSOUND_3D_Update

This document copyright ©Firelight Multimedia, 1999-2001. All rights reserved.
Generated Thu Sep 13 00:18:08 2001 by SourceDoc v0.10, the automated source code documenter.