DirectX SDK |
The DirectSound3DListener.GetDopplerFactor method retrieves the current Doppler effect factor.
object.GetDopplerFactor() As Single
If the method succeeds, the current Doppler factor value is returned.
If the method fails, an error is raised and Err.Number may be set to DSERR_INVALIDPARAM.
The Doppler factor has a range of DS3D_MINDOPPLERFACTOR (no Doppler effects) to DS3D_MAXDOPPLERFACTOR (as currently defined, 10 times the Doppler effects found in the real world). The default value is DS3D_DEFAULTDOPPLERFACTOR (1.0).