Copyright © 2008-2023 MultiMedia Soft

TracksBoard.TrackMuteStateGet method

Previous pageReturn to chapter overviewNext page

Remarks

 

Obtains the mute state of the given track. The current mute state can be modified through the TracksBoard.TrackMuteStateSet method.

 

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 TrackMuteStateGet (

nTrack as Int32,

ByRef bIsMuted as Boolean

) as enumErrorCodes


 

[C#]

public enumErrorCodes TrackMuteStateGet (

Int32 nTrack,

ref bool bIsMuted

);


 

[C++]

public: enumErrorCodes TrackMuteStateGet (

Int32 nTrack,

bool __gc *bIsMuted

);


 

 

Parameter

Description

 

 

nTrack

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

bIsMuted

Reference that, after returning from the method call, will contain a boolean value indicating if the track is muted.

Supported values are the following:

Value

Meaning

false (default)

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