summaryrefslogtreecommitdiff
path: root/aserver/aserver.c
diff options
context:
space:
mode:
Diffstat (limited to 'aserver/aserver.c')
-rw-r--r--aserver/aserver.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/aserver/aserver.c b/aserver/aserver.c
index dcf8d0a9..c3f209fa 100644
--- a/aserver/aserver.c
+++ b/aserver/aserver.c
@@ -572,8 +572,11 @@ int ctl_shm_cmd(client_t *client)
case SND_CTL_IOCTL_ASYNC:
ctrl->result = snd_ctl_async(ctl, ctrl->u.async.sig, ctrl->u.async.pid);
break;
- case SNDRV_CTL_IOCTL_INFO:
- ctrl->result = snd_ctl_card_info(ctl, &ctrl->u.hw_info);
+ case SNDRV_CTL_IOCTL_SUBSCRIBE_EVENTS:
+ ctrl->result = snd_ctl_subscribe_events(ctl, ctrl->u.subscribe_events);
+ break;
+ case SNDRV_CTL_IOCTL_CARD_INFO:
+ ctrl->result = snd_ctl_card_info(ctl, &ctrl->u.card_info);
break;
case SNDRV_CTL_IOCTL_ELEM_LIST:
{