KSDS3D_LISTENER_ORIENTATION structure (ksmedia.h)

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.

Syntax

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.

Remarks

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

Requirements

Requirement Value
Header ksmedia.h (include Ksmedia.h)

See also

DS3DVECTOR

KSPROPERTY_DIRECTSOUND3DLISTENER_ORIENTATION