Copyright © 2001-2018 MultiMedia Soft

StreamOutputDeviceGet method

Previous pageReturn to chapter overviewNext page

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 StreamOutputDeviceSet 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.StreamOutputDeviceGet (

nPlayer as Integer

) as Integer


 

[C++]

short control.StreamOutputDeviceGet (

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.