Find an output device by its driver type and its device name.
This is useful to get the actual deviceId because it can change if the
user plugs/unplugs a sound card.
Declaration Syntax
C# | Visual Basic |
public static Device FindOutputDevice( DriverType driverType, string deviceName )
Public Shared Function FindOutputDevice ( _ driverType As DriverType, _ deviceName As String _ ) As Device
Parameters
- driverType (DriverType)
- Driver type
- deviceName (String)
- Device name
Return Value
Device (null if none found)