DirectX SDK

DirectSound3DListener.GetDistanceFactor

The DirectSound3DListener.GetDistanceFactor method retrieves the current distance factor.

object.GetDistanceFactor() As Single

Parameters

object
Object expression that resolves to a DirectSound3DListener object.

Return Values

If the method succeeds, the current distance factor value is returned.

Error Codes

If the method fails, an error is raised and Err.Number may be set to DSERR_INVALIDPARAM.

See Also

DirectSound3DListener.SetDistanceFactor