Copyright © 2001-2011 MultiMedia Soft

VST.Enable method

Previous pageReturn to chapter overviewNext page

Remarks

 

Enables/disables the given VST effect.

 

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.Enable (

nPlayer as Integer,

nIdVST as Long,

bEnable as enumBoolean,

nPriority as Long

) as enumErrorCodes


 

[C++]

short control.VST.Enable (

short nPlayer,

long nIdVST,

short bEnable,

long nPriority

);


 

Parameter

Description

 

 

nPlayer

Number representing the zero-based index of the involved player

nIdVST

Unique identifier of the VST effect

bEnable

Boolean flag that specifies if the VST effect must be enabled or disabled.

Supported values are the following:

Value

Meaning

BOOL_FALSE

Disables the VST effect

BOOL_TRUE

Enables the VST effect

nPriority

VST priority level: VST with higher priority are applied before VST with lower priority

 

 

Return value

 

Value

Meaning

 

 

Negative value

An error occurred (see the LastError property for further error details)

enumErrorCodes.NOERROR (0)

The method call was successful.