KSDS3D_LISTENER_ORIENTATION structure

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

Header

Ksmedia.h (include Ksmedia.h)

See also

KSPROPERTY_DIRECTSOUND3DLISTENER_ORIENTATION
DS3DVECTOR

 

 

Send comments about this topic to Microsoft

Show: