// 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 referenceNo description available.
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.
PositionSpecifies the position vector of the 3D listener. This member is a structure of type DS3DVECTOR.
VelocitySpecifies the velocity vector of the 3D listener. This member is a structure of type DS3DVECTOR.
OrientFrontSpecifies the front orientation vector of the 3D listener. This member is a structure of type DS3DVECTOR.
OrientTopSpecifies the top orientation vector of the 3D listener. This member is a structure of type DS3DVECTOR.
DistanceFactorSpecifies the distance factor for the 3D listener.
RolloffFactorSpecifies the rolloff factor for the 3D listener.
DopplerFactorSpecifies the Doppler factor for the 3D listener.
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.
KSPROPERTY_DIRECTSOUND3DLISTENER_ALL