From: Jaroslav Kysela Date: Thu, 19 Apr 2001 13:54:22 +0000 (+0000) Subject: Added ctl_elem_lock and unlock code. X-Git-Tag: v1.0.3~872 X-Git-Url: https://git.alsa-project.org/?a=commitdiff_plain;h=51f5d9d461ee4497875880927b9f90c899b05c59;p=alsa-lib.git Added ctl_elem_lock and unlock code. --- diff --git a/aserver/aserver.c b/aserver/aserver.c index 59050c3d..c2a6dad4 100644 --- a/aserver/aserver.c +++ b/aserver/aserver.c @@ -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;