mirror of
https://github.com/alsa-project/alsa-lib.git
synced 2025-10-29 05:40:25 -04:00
Added ctl_elem_lock and unlock code.
This commit is contained in:
parent
12a47782cb
commit
51f5d9d461
1 changed files with 6 additions and 0 deletions
|
|
@ -602,6 +602,12 @@ static int ctl_shm_cmd(client_t *client)
|
|||
case SNDRV_CTL_IOCTL_ELEM_WRITE:
|
||||
ctrl->result = snd_ctl_elem_write(ctl, &ctrl->u.element_write);
|
||||
break;
|
||||
case SNDRV_CTL_IOCTL_ELEM_LOCK:
|
||||
ctrl->result = snd_ctl_elem_lock(ctl, &ctrl->u.element_lock);
|
||||
break;
|
||||
case SNDRV_CTL_IOCTL_ELEM_UNLOCK:
|
||||
ctrl->result = snd_ctl_elem_unlock(ctl, &ctrl->u.element_unlock);
|
||||
break;
|
||||
case SNDRV_CTL_IOCTL_HWDEP_NEXT_DEVICE:
|
||||
ctrl->result = snd_ctl_hwdep_next_device(ctl, &ctrl->u.device);
|
||||
break;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue