Copyright © 2001-2023 MultiMedia Soft

TracksBoard.ItemMuteStateSet method

Previous pageReturn to chapter overviewNext page

Remarks

 

Modifies the mute state of the given item. The current mute state can be modified through the TracksBoard.ItemMuteStateGet method.

 

The mute state may be also modified if the item should be inside a track muted through a call to the TracksBoard.TrackMuteStateSet method but would recover its not muted state once moved to another track not being in mute state.

 

For details about the use of the TracksBoard refer to the How to use the TracksBoard to visually compose songs tutorial.

For further details about methods of the TracksBoard refer to the TracksBoard object section.

 

 

Syntax

 

[Visual Basic]

control.TracksBoard.ItemMuteStateSet (

nUniqueId as Long,

bMuted as enumBoolean

) as enumErrorCodes


 

[C++]

short control.TracksBoard.ItemMuteStateSet (

long nUniqueId,

short bMuted

);


 

Parameter

Description

 

 

nUniqueId

Unique identification number assigned to the sound item after being generated by one of the following methods:

TracksBoard.ItemClone when an existing item has been cloned

bMuted

Boolean value indicating if the item must be muted.

Supported values are the following:

Value

Meaning

BOOL_FALSE

The item is not muted.

BOOL_TRUE

The item is muted.

 

 

 

Return value

 

Value

Meaning

 

 

Negative value

An error occurred, check the LastError property value in order to get the error code

enumErrorCodes.ERR_NOERROR (0)

The method call was successful