Microsoft DirectX 8.0 (Visual Basic)

DirectSound3DBuffer8.SetConeOutsideVolume

Sets the cone outside volume for this sound buffer.

object.SetConeOutsideVolume( _
  coneOutsideVolume As Long, _
  applyFlag As CONST_DS3DAPPLYFLAGS)

Parts

object
Resolves to a DirectSound3DBuffer8 object.
coneOutsideVolume
Cone outside volume for this sound buffer, in hundredths of decibels.
applyFlag
Value that specifies 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.

Remarks

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).

See Also

DirectSoundSecondaryBuffer8.SetVolume, Sound Cones