DirectX SDK

DS3DBUFFER

The DS3DBUFFER type contains all information necessary to uniquely describe the location, orientation, and motion of a 3-D sound buffer. This type is used with the DirectSound3DBuffer.GetAllParameters and DirectSound3DBuffer.SetAllParameters methods.

Type DS3DBUFFER
    lConeOutsideVolume As Long
    lInsideConeAngle As Long
    lMode As CONST_DS3DMODEFLAGS
    lOutsideConeAngle As Long
    maxDistance As Single
    minDistance As Single
    vConeOrientation As D3DVECTOR
    vPosition As D3DVECTOR
    vVelocity As D3DVECTOR
End Type

Members

lConeOutsideVolume
The cone outside volume.
lInsideConeAngle
The angle of the inside sound projection cone.
lMode
The 3-D sound processing mode to be set. One of the following constants of the CONST_DS3DMODEFLAGS enumeration:
DS3DMODE_DISABLE
3-D sound processing is disabled. The sound will appear to originate from the center of the listener's head.
DS3DMODE_HEADRELATIVE
Sound parameters (position, velocity, and orientation) are relative to the listener's parameters. In this mode, the absolute parameters of the sound are updated automatically as the listener's parameters change, so that the relative parameters remain constant.
DS3DMODE_NORMAL
Normal processing. This is the default mode.
lOutsideConeAngle
The angle of the outside sound projection cone.
maxDistance
The maximum distance.
minDistance
The minimum distance.
vConeOrientation
A D3DVECTOR type that describes the current orientation of this 3-D buffer's sound projection cone.
vPosition
A D3DVECTOR type that describes the current position of the 3-D sound buffer.
vVelocity
A D3DVECTOR type that describes the current velocity of the 3-D sound buffer.