Muokkaa

Jaa


KSPROPERTY_DIRECTSOUND3DBUFFER_POSITION

The KSPROPERTY_DIRECTSOUND3DBUFFER_POSITION property specifies the position of a 3D sound buffer.

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 buffer position. For information about position units, see KSPROPERTY_DIRECTSOUND3DLISTENER_DISTANCEFACTOR.

Return Value

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

Remarks

For more information about the position of a DirectSound 3D buffer, see the following in the Microsoft Windows SDK documentation:

  • The vPosition member of the DS3DBUFFER structure.

  • The IDirectSound3DBuffer::GetPosition and IDirectSound3DBuffer::SetPosition methods.

Requirements

Header

Ksmedia.h (include Ksmedia.h)

See also

KSNODEPROPERTY

DS3DVECTOR

KSPROPERTY_DIRECTSOUND3DLISTENER_DISTANCEFACTOR