Copyright © 2001-2008 MultiMedia Soft 
Return to Table of contents  
 
GetPlayerOutputDevice method 
 
Remarks 
 
Retrieves the current output device (sound card) for the given player. 
 
By default, the output device is set at the very beginning through a call to the InitDJSystem method and can be changed at a later time through the SetPlayerOutputDevice method. 
 
For further details about output devices management, take a look to the How to work with multiple output devices and speakers section. 
 
 
Syntax 
 
[Visual Basic] 
control.GetPlayerOutputDevice
nPlayer as Integer 
) as Integer
 
[C++] 
short control.GetPlayerOutputDevice
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)
Value >= 0
Number representing the index of the output device assigned to the given player.
 
 
 
 
 
 
 
 
Copyright © 2001-2008 MultiMedia Soft 
Return to Table of contents