Previous Topic Index Next Topic
[API function]

FSOUND_3D_SetDopplerFactor

Sets the doppler shift scale factor.

void F_API FSOUND_3D_SetDopplerFactor(
F_FLOAT_API 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.
___________________
Supported on the following platforms : Win32, WinCE, Linux, Macintosh, XBox, PlayStation 2

See Also

FSOUND_3D_Listener_GetAttributes , FSOUND_3D_Listener_SetAttributes , FSOUND_Update

This document copyright ©Firelight Technologies, Pty, Ltd, 1999-2002. All rights reserved.
Generated Fri Dec 20 16:31:08 2002 by SourceDoc v0.10, the automated source code documenter.