summaryrefslogtreecommitdiff
path: root/aserver
diff options
context:
space:
mode:
authorJaroslav Kysela <perex@perex.cz>2001-04-19 13:54:22 +0000
committerJaroslav Kysela <perex@perex.cz>2001-04-19 13:54:22 +0000
commit51f5d9d461ee4497875880927b9f90c899b05c59 (patch)
tree117a1568482e2bb460870d8bb4f4d015033ccb4c /aserver
parent12a47782cb0ae147a396b6bcbbe7909edd8a47be (diff)
Added ctl_elem_lock and unlock code.
Diffstat (limited to 'aserver')
-rw-r--r--aserver/aserver.c6
1 files changed, 6 insertions, 0 deletions
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;