Remarks
Obtains the index of the embedded program currently selected into the VST effect.
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 EffectsMan class.
Syntax
[Visual Basic]
Public Function VstProgramGetCurrent (
nIdVST as Int32
) as Int16
|
|
[C#]
public Int16 VstProgramGetCurrent (
Int32 nIdVST
);
|
|
[C++]
public: Int16 VstProgramGetCurrent (
Int32 nIdVST
);
|
|
Parameter
|
Description
|
|
|
nIdVST
|
Unique identifier of the VST effect as returned by the Effects.VstLoad method.
|
Return value
Value
|
Meaning
|
|
|
Negative value
|
An error occurred (see the LastError property for further error details)
|
Value >= 0
|
Zero-based index of the selected embedded program
|
|