Previous Next

KSDS3D_LISTENER_ORIENTATION

A KSD3D_LISTENER_ORIENTATION structure specifies the position vector of the 3D listener. This structure is used to get or set the data value for the KSPROPERTY_DIRECTSOUND3DLISTENER_ORIENTATION property.

typedef struct
{
  DS3DVECTOR  Front;
  DS3DVECTOR  Top;
} KSDS3D_LISTENER_ORIENTATION, *PKSDS3D_LISTENER_ORIENTATION;

Members

Front
Specifies the front orientation vector of the 3D listener. This member is a structure of type DS3DVECTOR.
Top
Specifies the top orientation vector of the 3D listener. This member is a structure of type DS3DVECTOR.

Headers

Declared in ksmedia.h. Include ksmedia.h.

Comments

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

See Also

KSPROPERTY_DIRECTSOUND3DLISTENER_ORIENTATION, DS3DVECTOR