This method of the DirectSound3dListener Class sets the current Doppler effect factor.
public void setDopplerFactor(float dopplerFactor, int applyFlag);
dopplerFactor | New Doppler factor value. |
applyFlag | Value indicating when the setting should be applied. This value must be one of the following: |
This Doppler factor has a range of 0 (no Doppler effects) to 10.0 (10 times the Doppler effects found in the physical world). The default value is DS3D_DEFAULTDOPPLERFACTOR (1.0).