MPfm: Music Player for Musicians - Developer Documentation - 0.6.0.0
FindOutputDevice Method (driverType, deviceName)
NamespacesMPfm.Sound.BassNetWrapperDeviceHelperFindOutputDevice(DriverType, String)
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)

Assembly: MPfm.Sound (Module: MPfm.Sound) Version: 0.5.3.0 (0.5.3.0)