KSDS3D_LISTENER_ALL - NtDoc

Native API online documentation, based on the System Informer (formerly Process Hacker) phnt headers
// ksmedia.h

typedef struct {
  DS3DVECTOR Position;
  DS3DVECTOR Velocity;
  DS3DVECTOR OrientFront;
  DS3DVECTOR OrientTop;
  FLOAT      DistanceFactor;
  FLOAT      RolloffFactor;
  FLOAT      DopplerFactor;
} KSDS3D_LISTENER_ALL, *PKSDS3D_LISTENER_ALL;
View the official Windows Driver Kit DDI reference

NtDoc

No description available.

Windows Driver Kit DDI reference (ns-ksmedia-ksds3d_listener_all)

KSDS3D_LISTENER_ALL structure

Description

The KSDS3D_LISTENER_ALL structure specifies all the properties of the DirectSound 3D listener. This structure is used to get or set the data value for the KSPROPERTY_DIRECTSOUND3DLISTENER_ALL property.

Members

Position

Specifies the position vector of the 3D listener. This member is a structure of type DS3DVECTOR.

Velocity

Specifies the velocity vector of the 3D listener. This member is a structure of type DS3DVECTOR.

OrientFront

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

OrientTop

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

DistanceFactor

Specifies the distance factor for the 3D listener.

RolloffFactor

Specifies the rolloff factor for the 3D listener.

DopplerFactor

Specifies the Doppler factor for the 3D listener.

Remarks

This structure is similar to the DS3DBUFFER structure that is described in the Microsoft Windows SDK documentation. The Windows SDK documentation also discusses the distance, rolloff, and Doppler factors for DirectSound 3D listeners.

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

See also

DS3DVECTOR

KSPROPERTY_DIRECTSOUND3DLISTENER_ALL