Microsoft DirectX 8.0 (Visual Basic)

DirectSound3DBuffer8.GetConeAngles

Retrieves the inside and outside angles of the sound projection cone for this sound buffer.

object.GetConeAngles( _
  inCone As Long, _
  outCone As Long)

Parts

object
Resolves to a DirectSound3DBuffer8 object.
inCone
Variable that receives the inside angle of the sound projection cone, in degrees.
outCone
Variable that receives the outside angle of the sound projection cone, in degrees.

Error Codes

If the method fails, an error is raised and Err.Number may be set to DSERR_INVALIDPARAM.

Remarks

The minimum, maximum, and default cone angles are defined as DS3D_MINCONEANGLE, DS3D_MAXCONEANGLE, and DS3D_DEFAULTCONEANGLE.

See Also

Sound Cones