libao# 0.8.8
driver_id Method (short_name)
NamespacesXiph.Audio.Output.LowLevellibaodriver_id(String)
Looks up the ID number for a driver based upon its short name. The ID number is need to open the driver or get info on it.
Declaration Syntax
C#Visual BasicVisual C++
public static int driver_id(
	string short_name
)
Public Shared Function driver_id ( _
	short_name As String _
) As Integer
public:
static int driver_id(
	String^ short_name
)
Parameters
short_name (String)
The short name of the driver. See the list of drivers for valid short names.
Return Value
  • A non-negative value is the ID number of the driver.
  • -1 indicates failure. No driver by that name exists.

Assembly: libao-sharp (Module: libao-sharp) Version: 0.8.8.18341