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

Public Function GetOutputDevicesCount (

) as Int16



public Int16 GetOutputDevicesCount (




public: Int16 GetOutputDevicesCount (




Return value


The number of output devices currently installed on the system.