| Miles Sound System SDK 7.2a |
The function AIL_set_3D_doppler_factor sets the driver's global 3D Doppler factor.
void AIL_set_3D_doppler_factor( HDIGDRIVER driver, F32 factor ); |
The Doppler factor controls the scale of the Doppler effects. The default Doppler scale is 1.0 which means no change to the calculated "real-world" Doppler effect. You can double the Doppler effect by using 2.0, and you can turn off Doppler completely by using 0.0.
Use the AIL_set_sample_3D_velocity and AIL_set_listener_3D_velocity functions to set the velocities of your samples and the listener.
Group:
Digital Audio Services
Related Functions:
AIL_3D_doppler_factor, AIL_set_3D_distance_factor, AIL_set_listener_3D_velocity, AIL_set_sample_3D_velocity
Related Basic Types:
F32, HDIGDRIVER, void
Related FAQs:
What's the best way to port my older Miles application to MSS 7?
For technical support, e-mail Miles3@radgametools.com
© Copyright 1991-2007 RAD Game Tools, Inc. All Rights Reserved.