Copyright © 2005-2019 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 InitSoundSystem 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]

Public Function StreamOutputDeviceGet (

nPlayerIndex as Int16

) as Int16


 

[C#]

public Int16 StreamOutputDeviceGet (

Int16 nPlayerIndex

);


 

[C++]

public: Int16 StreamOutputDeviceGet (

Int16 nPlayerIndex

);


 

 

Parameter

Description

 

 

nPlayerIndex

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

The index of the output device assigned to the given player