Copyright © 2001-2019 MultiMedia Soft

GetChannels method

Previous pageReturn to chapter overviewNext page

Remarks

 

Retrieves the number of channels in the loaded song.

 

The availability of this information requires a prior call to the ReadSoundInfo method.

 

 

Syntax

 

[Visual Basic]

control.GetChannels (

nPlayer as Integer

) as Integer


 

[C++]

short control.GetChannels (

short nPlayer

);


 

 

Parameter

Description

 

 

nPlayer

Number representing the zero-based index of the involved player

 

Return value

 

Value

Meaning

 

 

Negative value

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

1

Mono

2

Stereo

4

Quadraphonic

6

5.1 Surround

8

7.1 Surround