Copyright © 2011-2019 MultiMedia Soft

Effects.VstProgramParamGetValue method

Previous pageReturn to chapter overviewNext page

Remarks

 

Obtains the current value for the specific parameter related to the given program.

 

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 VstProgramParamGetValue (

nIdVST as Int32,

nProgramIndex as Int16,

nParamIndex as Int16,

fValue as Single

) as enumErrorCodes


 

[C#]

public enumErrorCodes VstProgramParamGetValue (

Int32 nIdVST,

Int16 nProgramIndex,

Int16 nParamIndex,

ref float fValue

);


 

[C++]

public: enumErrorCodes VstProgramParamGetValue (

Int32 nIdVST,

Int16 nProgramIndex,

Int16 nParamIndex,

float __gc *fValue

);


 

 

Parameter

Description

 

 

nIdVST

Unique identifier of the VST effect as returned by the Effects.VstLoad method.

nProgramIndex

Zero-based index of the program

nParamIndex

Zero-based index of the parameter

fValue

Reference that, after returning from the method call, will contain the current value of the given parameter

 

 

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.