Function
ALSACtlElemIdnew_by_name
Declaration [src]
ALSACtlElemId*
alsactl_elem_id_new_by_name (
ALSACtlElemIfaceType iface,
guint device_id,
guint subdevice_id,
const gchar* name,
guint index
)
Parameters
iface |
ALSACtlElemIfaceType |
The interface of element, one of ALSACtlElemIfaceType. |
|
device_id |
guint |
The numeric identifier of device to which the element belongs. |
|
subdevice_id |
guint |
The numeric identifier of subdevice to which the element belongs. |
|
name |
const gchar* |
The name of element, up to 44 byte (= |
|
The data is owned by the caller of the function. | |
The value is a NUL terminated UTF-8 string. | |
index |
guint |
The index of element in a set of elements with the same name. |
Return value
Returns: | ALSACtlElemId |
The caller of the function takes ownership of the data, and is responsible for freeing it. |