IDirectSound3DListener::GetDopplerFactor

HRESULT GetDopplerFactor(LPD3DVALUE lpflDopplerFactor);

Retrieves the current Doppler effect factor.

·Returns DS_OK if successful, or DSERR_INVALIDPARAM otherwise.

lpflDopplerFactor

Address of a variable whose type is D3DVALUE and that will contain the current Doppler factor value.

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). For additional information about Doppler factor, see Doppler Factor.