DirectX SDK |
The DirectSound3DBuffer.GetMaxDistance method retrieves the current maximum distance for this sound buffer.
object.GetMaxDistance() As Single
If the method succeeds, the return value is the current maximum distance setting.
If the method fails, an error is raised and Err.Number may be set to DSERR_INVALIDPARAM.
The default maximum distance, defined as DS3D_DEFAULTMAXDISTANCE, is effectively infinite.
DirectSound3DBuffer.GetMinDistance, DirectSound3DBuffer.SetMaxDistance