The KSPROPERTY_DIRECTSOUND3DBUFFER_VELOCITY property specifies the velocity of a 3D sound buffer.
| Get | Set | Target | Property Descriptor Type | Property Value Type |
|---|---|---|---|---|
| Yes | Yes | Pin | KSNODEPROPERTY | DS3DVECTOR |
The property value (operation data) is a structure of type DS3DVECTOR that specifies the buffer velocity. Velocity is expressed in units of one meter per second by default, but the units can be changed through the KSPROPERTY_DIRECTSOUND3DLISTENER_DISTANCEFACTOR property.
A KSPROPERTY_DIRECTSOUND3DBUFFER_VELOCITY 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.
For more information on the velocity of a DirectSound 3D buffer, see the following in the Platform SDK documentation:
KSNODEPROPERTY, DS3DVECTOR, KSPROPERTY_DIRECTSOUND3DLISTENER_DISTANCEFACTOR