Copyright © 2001-2018 MultiMedia Soft

GetOutputDevicesCount method

Previous pageReturn to chapter overviewNext page



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.





[Visual Basic]

control.GetOutputDevicesCount (

) as Integer



short control.GetOutputDevicesCount (




Return value


The number of output devices currently installed on the system.