diff options
author | Abramo Bagnara <abramo@alsa-project.org> | 2001-02-13 21:29:30 +0000 |
---|---|---|
committer | Abramo Bagnara <abramo@alsa-project.org> | 2001-02-13 21:29:30 +0000 |
commit | 3e97ef3ea0fa72e921a16d12c30283fe89704f95 (patch) | |
tree | 1de1e930f5dfec55918a69d68ad117aee0430c00 /aserver | |
parent | fa517992550d65d88a133bd9d70b3ba446d143a2 (diff) |
Changed control to use events mask. Added subscribe ioctl
Diffstat (limited to 'aserver')
-rw-r--r-- | aserver/aserver.c | 7 |
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: { |