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 EffectsMan class.

 

 

Syntax

 

[Visual Basic]

Public Function VstGetInfo (

nIdVST as Int32,

ByRef Info as VstEffectInfo

) as enumErrorCodes


 

[C#]

public enumErrorCodes VstGetInfo (

Int32 nIdVST,

ref VstEffectInfo Info

);


 

[C++]

public: enumErrorCodes VstGetInfo (

Int32 nIdVST,

VstEffectInfo __gc *Info

);


 

 

Parameter

Description

 

 

nIdVST

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

Info

Reference to an instance of class VstEffectInfo containing information about the VST effect.

The VstEffectInfo class is defined in C# as follows:

 

public class VstEffectInfo

{

 public Int32   nRegisteredUniqueID;

 public Int32   nVersion;

 public Int32   nVstVersion;

 public Int32   nVstMaxSupportedVersion;

 public Int32   nInputChannels;

 public Int32   nOutputChannels;

 public Int32   nInitialDelay;

 public Int32   ptrUnderlyingAEffect;

}

 

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.