Previous Next

KSPROPERTY_DIRECTSOUND3DLISTENER_VELOCITY

The KSPROPERTY_DIRECTSOUND3DLISTENER_VELOCITY property specifies the velocity vector of a 3D listener.

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 velocity vector. Velocity is expressed in distance units per second. The default distance unit is a meter. The distance unit can be changed by sending a KSPROPERTY_DIRECTSOUND3DLISTENER_DISTANCEFACTOR set-property request.

Return Value

A KSPROPERTY_DIRECTSOUND3DLISTENER_VELOCITY property request returns STATUS_SUCCESS to indicate that it has completed successfully. Otherwise, the request returns an appropriate error status code.

Headers

Declared in ksmedia.h. Include ksmedia.h.

Comments

DirectSound uses this property to implement the IDirectSound3DListener::GetVelocity and IDirectSound3DListener::SetVelocity methods, which are described in the Platform SDK documentation.

See Also

KSNODEPROPERTY, DS3DVECTOR