Copyright © 2001-2008 MultiMedia Soft 
Return to Table of contents  
 
SwapPlayersSpeakers method 
 
Remarks 
 
Given two players, both assigned to the same output device, swaps the respective assigned speakers: note that it's not allowed swapping speakers of players currently redirecting their output to different output devices. 
 
For further details about speakers assignment, take a look to the How to work with multiple output devices and speakers section. 
 
 
Syntax 
 
[Visual Basic] 
control.SwapPlayersSpeakers
nPlayer1 as Integer
nPlayer2 as Integer 
 
[C++] 
short control.SwapPlayersSpeakers
short nPlayer1
short nPlayer2 
);
 
 
Parameter
Description
 
 
nPlayer1
Number representing the zero-based index of the first involved player.
nPlayer2
Number representing the zero-based index of the second involved player.
 
 
Return value 
 
Value
Meaning
 
 
Negative value
An error occurred (see the LastError property for further error details)
enumErrorCodes.NOERROR (0)
The method call was successful
 
 
 
 
 
 
 
 
 
 
Copyright © 2001-2008 MultiMedia Soft 
Return to Table of contents