Copyright © 2008-2019 MultiMedia Soft

Effects.VstGetInfo method

Previous pageReturn to chapter overviewNext page

Remarks

 

Obtains information about 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 Effects COM object.

 

 

Syntax

 

[Visual Basic]

control.Effects.VstGetInfo (

nIdVST as Long,

pParamData as Long

) as enumErrorCodes


 

[C++]

short control.Effects.VstGetInfo (

long nIdVST,

long *pParamData

);


 

 

Parameter

Description

 

 

nIdVST

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

pParamData

Address of a data structure of type VST_EFFECT_INFO that receives the information about the VST effect.

The VST_EFFECT_INFO data structure is defined in C++ as follows:

 

typedef struct

{

 long    nRegisteredUniqueID;

 long    nVersion;

 long    nVstVersion;

 long    nVstMaxSupportedVersion;

 long    nInputChannels;

 long    nOutputChannels;

 long    nInitialDelay;

 long    ptrUnderlyingAEffect;

} VST_EFFECT_INFO;

 

Member name

Description

 

 

nRegisteredUniqueID

Unique identifier of the VST effect: this unique identifier is assigned and registered at Steinberg

nVersion

Effect version

nVstVersion

The VST version the effect was written for

nVstMaxSupportedVersion

The max VST version (currently 2.4) supported by the control

nInputChannels

Max number of supported input channels

nOutputChannels

Max number of supported output channels

nInitialDelay

Plugin latency expressed in samples

ptrUnderlyingAEffect

The underlying AEffect object (see aeffectx.h in the VST SDK for further details)

 

 

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.