Platform SDK: DirectX |
The DirectSound3DBuffer.SetConeOutsideVolume method sets the cone outside volume for this sound buffer.
object.SetConeOutsideVolume(coneOutsideVolume As Long, _ applyFlag As CONST_DS3DAPPLYFLAGS)
Value that indicates when the setting should be applied. This value must be one of the constants of the CONST_DS3DAPPLYFLAGS enumeration.
If the method fails, an error is raised and Err.Number may be set to DSERR_INVALIDPARAM.
Volume levels are represented by attenuation. Allowable values are between DSBVOLUME_MAX (no attenuation) and DSBVOLUME_MIN (silence). The default value is DS3D_DEFAULTCONEOUTSIDEVOLUME (no attenuation).