Platform SDK: DirectX

DirectSound3DBuffer.GetConeAngles

The DirectSound3DBuffer.GetConeAngles method retrieves the inside and outside angles of the sound projection cone for this sound buffer.

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

Parameters

object
Object expression that resolves to a DirectSound3DBuffer 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.