KSPROPERTY_DIRECTSOUND3DLISTENER_VELOCITY

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

Usage Summary Table

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_DISTANCEFACTORset-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.

Remarks

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

Requirements

Header

Ksmedia.h (include Ksmedia.h)

See also

KSNODEPROPERTY

DS3DVECTOR