Microsoft DirectX 9.0 |
The GetConeOutsideVolume method retrieves the volume of the sound outside the outside angle of the sound projection cone.
Syntax
HRESULT GetConeOutsideVolume(
LPLONG plConeOutsideVolume
);
Parameters
plConeOutsideVolume
Address of a variable that receives the cone outside volume for this buffer.
Return Values
If the method succeeds, the return value is DS_OK.
If the method fails, the return value may be DSERR_INVALIDPARAM.
Remarks
Volume levels are expressed as attenuation, in hundredths of a decibel. Allowable values are between DSBVOLUME_MAX (no attenuation) and DSBVOLUME_MIN (silence). The default value is DS3D_DEFAULTCONEOUTSIDEVOLUME (no attenuation). These values are defined in Dsound.h. DirectSound does not support amplification.
Requirements
Header: Declared in dsound.h.
See Also