Remarks
Enables/disables the given VST effect.
For further details about methods related to the use of VST effects refer to the VST COM object.
For further details about managing a VST effect refer to the How to manage VST effects tutorial.
Syntax
[Visual Basic]
control.VST.EffectEnable (
nPlayer as Integer,
nIdVST as Long,
bEnable as enumBoolean,
nPriority as Long
) as enumErrorCodes
|
|
[C++]
short control.VST.EffectEnable (
short nPlayer,
long nIdVST,
short bEnable,
long nPriority
);
|
|
Parameter
|
Description
|
|
|
nPlayer
|
Number representing the zero-based index of the involved player
|
nIdVST
|
Unique identifier of the VST effect as returned by the VST.EffectLoad method.
|
bEnable
|
Boolean flag that specifies if the VST effect must be enabled or disabled.
Supported values are the following:
Value
|
Meaning
|
BOOL_FALSE
|
Disables the VST effect
|
BOOL_TRUE
|
Enables the VST effect
|
|
nPriority
|
VST effect priority level inside the chain of DirectX effects, custom DSP effects and VST effects. Effects with higher priority are applied before effects with lower priority; in case more effects should have the same priority, they would be invoked in the same order that they were added..
|
Return value
Value
|
Meaning
|
|
|
Negative value
|
An error occurred (see the LastError property for further error details)
|
enumErrorCodes.NOERROR (0)
|
The method call was successful.
|
|