IDirectSound3DListener::GetRolloffFactor

HRESULT GetRolloffFactor(LPD3DVALUE lpflRolloffFactor);

Retrieves the current rolloff factor.

·Returns DS_OK if successful, or DSERR_INVALIDPARAM otherwise.

lpflRolloffFactor

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

The default value is DS3D_DEFAULTROLLOFFFACTOR (1.0). For additional information about the rolloff factor, see Rolloff Factor.