Remarks
Obtains the index of the embedded program currently selected into the VST.
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.ProgramGetCurrent (
nPlayer as Integer,
nIdVST as Long
) as Integer
|
|
[C++]
short control.VST.ProgramGetCurrent (
short nPlayer,
long nIdVST
);
|
|
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 or VST.InstrumentLoad methods.
|
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
|
|