Platform SDK: DirectX

DS3DLISTENER

The DS3DLISTENER type describes 3-D global parameters and properties of the listener. This type is used with the DirectSound3DListener.GetAllParameters and DirectSound3DListener.SetAllParameters methods.

Type DS3DLISTENER
    distanceFactor As Single
    dopplerFactor As Single
    rolloffFactor As Single
    vOrientFront As D3DVECTOR
    vOrientTop As D3DVECTOR
    vPosition As D3DVECTOR
    vVelocity As D3DVECTOR
End Type

Members

distanceFactor
Number of meters in a unit of distance.
dopplerFactor
Factor applied to the Doppler shift for a buffer that has velocity.
rolloffFactor
Factor applied to the attenuation of sound over distance.
vOrientFront
D3DVECTOR type that describes the listener's front orientation.
vOrientTop
D3DVECTOR type that describes the listener's top orientation.
vPosition
D3DVECTOR type that describes the listener's position.
vVelocity
D3DVECTOR type that describes the listener's velocity.