Remarks
Returns parameters of an existing volume point.
For further details about defining a volume automation procedure refer to the How to define a volume automation procedure section.
For further details about methods related to the use of special effects refer to the EffectsMan class.
Syntax
[Visual Basic]
Public Function VolumeAutomationPointGetParameters (
nIndexVolumePoint as Int32,
ByRef fPosition as float,
ByRef fVolumeLevel as float,
ByRef nCurveType as enumVolumeCurves
) as enumErrorCodes


[C#]
public enumErrorCodes VolumeAutomationPointGetParameters (
Int32 nIndexVolumePoint,
ref float fPosition,
ref float fVolumeLevel,
enumVolumeCurves nCurveType
);


[C++]
public: enumErrorCodes VolumeAutomationPointGetParameters (
Int32 nIndexVolumePoint,
float __gc *fPosition,
float __gc *fVolumeLevel,
enumVolumeCurves nCurveType
);


Parameter

Description



nIndexVolumePoint

Zerobased index of the volume point

fPosition

Reference that, on return from the method call, will contain the position, expressed in the unit set through the Effects.VolumeAutomationSetScales method, where the volume point will be applied

fVolumeLevel

Reference that, on return from the method call, will contain the volume applied starting from the current automation point: the value is expressed in the unit set through the Effects.VolumeAutomationSetScales method.

nCurveType

Type of curve applied to reach the next volume point.
Supported values are the following:
Mnemonic constant

Value

Meaning




VOLUME_CURVE_NONE

0

No curve is applied: volume will be changed immediately and will be kept till next volume point.

VOLUME_CURVE_LINEAR

1

Linear curve

VOLUME_CURVE_EXPONENTIAL

2

Exponential curve

VOLUME_CURVE_COSINE

3

Cosine curve

VOLUME_CURVE_SMOOTH

4

Smooth curve

VOLUME_CURVE_CUSTOM

5

Custom Bézier curve.


Return value
Value

Meaning



Negative value

An error occurred (see the LastError property for further error details)

enumErrorCodes.ERR_NOERROR (0)

The method call was successful.

