DirectX SDK

DirectSound3DBuffer.GetConeOutsideVolume

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

object.GetConeOutsideVolume() As Long

Parameters

object
Object expression that resolves to a DirectSound3DBuffer object.

Error Codes

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

Return Values

If the method succeeds, the current cone outside volume for this sound buffer is returned.

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

For additional information about the concept of outside volume, see Sound Cones.

See Also

DirectSoundBuffer.SetVolume