Method
ALSACtlCardget_elem_info
Declaration [src]
gboolean
alsactl_card_get_elem_info (
ALSACtlCard* self,
const ALSACtlElemId* elem_id,
ALSACtlElemInfoCommon** elem_info,
GError** error
)
Description [src]
Get information of element corresponding to given id.
The call of function executes ioctl(2)
system call with SNDRV_CTL_IOCTL_ELEM_INFO
command
for ALSA control character device. For enumerated element, it executes the system call for
several times to retrieve all of enumeration labels.
Parameters
elem_id |
ALSACtlElemId |
The data is owned by the caller of the function. | |
elem_info |
ALSACtlElemInfoCommon |
An instance of object which implements |
|
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 . |