diff options
author | Abramo Bagnara <abramo@alsa-project.org> | 2000-10-11 12:37:27 +0000 |
---|---|---|
committer | Abramo Bagnara <abramo@alsa-project.org> | 2000-10-11 12:37:27 +0000 |
commit | dcc88ffaa7eca209b39b0ae5f8be67105020c283 (patch) | |
tree | 48a44c5a3b69ca3f3fe4158033aefb4442671ceb /aserver | |
parent | d07934a53704c486b793921435cb57d303f98365 (diff) |
Added support for async. Added error callback (and begun to use it). First implementation of pcm_share
Diffstat (limited to 'aserver')
-rw-r--r-- | aserver/aserver.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/aserver/aserver.c b/aserver/aserver.c index eef9a675..7f54885e 100644 --- a/aserver/aserver.c +++ b/aserver/aserver.c @@ -353,6 +353,9 @@ int pcm_shm_cmd(client_t *client) ctrl->cmd = 0; pcm = client->device.pcm.handle; switch (cmd) { + case SND_PCM_IOCTL_ASYNC: + ctrl->result = snd_pcm_async(pcm, ctrl->u.async.sig, ctrl->u.async.pid); + break; case SND_PCM_IOCTL_INFO: ctrl->result = snd_pcm_info(pcm, &ctrl->u.info); break; |