DirectX SDK

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 and outCone
Variables that will contain the inside and outside angles of the sound projection cone, in degrees.

Error Codes

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

Remarks

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