IDirectSound3DBuffer::GetMinDistance

HRESULT GetMinDistance(LPD3DVALUE lpflMinDistance);

Retrieves the current minimum distance for this sound buffer.

·Returns DS_OK if successful, or DSERR_INVALIDPARAM otherwise.

lpflMinDistance

Address of a variable that will contain the current minimum distance setting.

By default, the minimum distance value is 1.0 (corresponding to 1.0 meter at the default distance factor of 1.0 m per unit). For additional information about minimum and maximum distances, see Minimum and Maximum Distance Values.