The KSPROPERTY_DIRECTSOUND3DBUFFER_MAXDISTANCE property specifies the maximum distance for a 3D sound buffer.
| Get | Set | Target | Property Descriptor Type | Property Value Type |
|---|---|---|---|---|
| Yes | Yes | Pin | KSNODEPROPERTY | FLOAT |
The property value (operation data) is of type FLOAT and specifies the maximum distance. For information on distance units, see KSPROPERTY_DIRECTSOUND3DLISTENER_DISTANCEFACTOR.
A KSPROPERTY_DIRECTSOUND3DBUFFER_MAXDISTANCE property request returns STATUS_SUCCESS to indicate that it has completed successfully. Otherwise, the request returns an appropriate error status code.
Declared in ksmedia.h. Include ksmedia.h.
At a distance that exceeds the maximum distance from a sound source, the sound from that source is reduced to silence. For more information on the maximum distance for a DirectSound 3D buffer, see the following in the Platform SDK documentation:
KSNODEPROPERTY, KSPROPERTY_DIRECTSOUND3DLISTENER_DISTANCEFACTOR