Remarks
Selects one of the embedded programs available inside the VST.
For further details about managing a VST effect refer to the How to manage VST effects section.
For further details about methods related to the use of special effects refer to the Effects COM object.
Syntax
[Visual Basic]
control.Effects.VstProgramSetCurrent (
nIdVST as Long,
nProgramIndex as Integer
) as enumErrorCodes
|
|
[C++]
short control.Effects.VstProgramSetCurrent (
long nIdVST,
short nProgramIndex
);
|
|
Parameter
|
Description
|
|
|
nIdVST
|
Unique identifier of the VST effect as returned by the Effects.VstLoad method.
|
nProgramIndex
|
Zero-based index of the program
|
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.
|
|