Copyright © 2011-2023 MultiMedia Soft

TracksBoard.TrackMuteStateSet method

Previous pageReturn to chapter overviewNext page

Remarks

 

Modifies the mute state of the given track. The current mute state can be modified through the TracksBoard.TrackMuteStateGet method.

 

Once a track is muted, all of the contained items would become muted as well but they may recover their not muted state after being moved to another not muted track.

 

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

 

 

Syntax

 

[Visual Basic]

Public Function TrackMuteStateSet (

nTrack as Int32,

bMuted as Boolean

) as enumErrorCodes


 

[C#]

public enumErrorCodes TrackMuteStateSet (

Int32 nTrack

bool bMuted

);


 

[C++]

public: enumErrorCodes TrackMuteStateSet (

Int32 nTrack

bool bMuted

);


 

 

Parameter

Description

 

 

nTrack

Zero-based index of the track. The current number of tracks can be obtained through the TracksBoard.TracksCountGet method.

bMuted

Boolean value indicating if the track must be muted.

Supported values are the following:

Value

Meaning

false

The track is not muted.

true

The track 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