Platform SDK: DirectX

DirectSound3DBuffer.SetConeOrientation

The DirectSound3DBuffer.SetConeOrientation method sets the orientation of the sound projection cone for this sound buffer. This method has no effect unless the cone angle and cone volume factor have also been set.

object.SetConeOrientation( _
    x As Single, _
    y As Single, _
    z As Single, _
    applyFlag As CONST_DS3DAPPLYFLAGS)

Parameters

object
Object expression that resolves to a DirectSound3DBuffer object.
x, y, z
Coordinates of the new sound cone orientation vector.
applyFlag
Value that indicates when the setting should be applied. Must be one of the constants of the CONST_DS3DAPPLYFLAGS enumeration.

Error Codes

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

See Also

DirectSound3DBuffer.SetConeAngles, DirectSound3DBuffer.SetConeOutsideVolume