Method
ALSACtlCardadd_elems
Declaration [src]
gboolean
alsactl_card_add_elems (
ALSACtlCard* self,
const ALSACtlElemId* elem_id,
guint elem_count,
ALSACtlElemInfoCommon* elem_info,
GList** entries,
GError** error
)
Description [src]
Add the user-defined elements and return the list of their identifier.
The call of function executes ioctl(2)
system call with SNDRV_CTL_IOCTL_ELEM_ADD
command
for ALSA control character device.
Parameters
elem_id |
ALSACtlElemId |
The data is owned by the caller of the function. | |
elem_count |
guint |
The number of elements going to be added. |
|
elem_info |
ALSACtlElemInfoCommon |
An instance of object which implements |
|
The data is owned by the caller of the function. | |
entries |
A list of const ALSACtlElemId* |
The list of added element identifiers. |
|
The argument will be set by the function. | |
The instance takes ownership of the data, and is responsible for freeing it. | |
error |
GError ** |
The return location for a GError* , or NULL . |