IDirectSound3DListener::GetDistanceFactor

HRESULT GetDistanceFactor(LPD3DVALUE lpflDistanceFactor);

Retrieves the current distance factor.

·Returns DS_OK if successful, or DSERR_INVALIDPARAM otherwise.

lpflDistanceFactor

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

For additional information about distance factors, see Distance Factor.