Method
ALSACtlCardlock_elem
Declaration [src]
gboolean
alsactl_card_lock_elem (
ALSACtlCard* self,
const ALSACtlElemId* elem_id,
gboolean lock,
GError** error
)
Description [src]
Lock/Unlock indicated element not to be written by the other processes.
The call of function executes ioctl(2)
system call with SNDRV_CTL_IOCTL_ELEM_LOCK
and
SNDRV_CTL_IOCTL_ELEM_UNLOCK
commands for ALSA control character device.
Parameters
elem_id |
ALSACtlElemId |
The data is owned by the caller of the function. | |
lock |
gboolean |
Whether to lock or unlock the element. |
|
error |
GError ** |
The return location for a GError* , or NULL . |