Copyright © 2005-2020 MultiMedia Soft

GetOutputDevicesCount method

Previous pageReturn to chapter overviewNext page

Remarks

 

Retrieves the number of output devices (sound cards) currently installed on the system.

 

The friendly name of each output device can be obtained using the GetOutputDeviceDesc method.

 

For further details about speakers assignment, take a look to the How to work with multiple output devices and speakers section.

 

 

Syntax

 

[Visual Basic]

Public Function GetOutputDevicesCount (

) as Int16


 

[C#]

public Int16 GetOutputDevicesCount (

);


 

[C++]

public: Int16 GetOutputDevicesCount (

);


 

 

Return value

 

The number of output devices currently installed on the system.