Copyright © 2001-2008 MultiMedia Soft 
Return to Table of contents  
 
GetChannels method 
 
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
 
 
 
 
 
 
 
 
 
 
 
 
Copyright © 2001-2008 MultiMedia Soft 
Return to Table of contents