Microsoft DirectX 8.1 (Visual Basic)

DirectSound3DBuffer8.GetConeOutsideVolume

The GetConeOutsideVolume method retrieves the current cone outside volume for this sound buffer.

Syntax

object.GetConeOutsideVolume() As Long

Parts

object

Resolves to a DirectSound3DBuffer8 object.

Return Values

Returns the current cone outside volume for this sound buffer.

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). DirectSound does not support amplification.

See Also