Microsoft DirectX 8.0 (C++) |
Retrieves the maximum distance for this sound buffer.
HRESULT GetMaxDistance( D3DVALUE * pflMaxDistance );
If the method succeeds, the return value is DS_OK.
If the method fails, the return value may be DSERR_INVALIDPARAM.
The default maximum distance, defined as DS3D_DEFAULTMAXDISTANCE, is effectively infinite.
Header: Declared in dsound.h.
IDirectSound3DBuffer8::GetMinDistance, IDirectSound3DBuffer8::SetMaxDistance