summaryrefslogtreecommitdiff
path: root/aserver
diff options
context:
space:
mode:
authorAbramo Bagnara <abramo@alsa-project.org>2001-03-26 12:45:48 +0000
committerAbramo Bagnara <abramo@alsa-project.org>2001-03-26 12:45:48 +0000
commit7893ea238d5ae042dc2e689f049da0f512d3b415 (patch)
tree6518f242a3da6fa11c439998d0265fd77d0b395f /aserver
parent4bee8c56784d06f08accebf1d2e3656729c1b11c (diff)
Added mode argument to open functions where it was missing. First part of CTL documentation
Diffstat (limited to 'aserver')
-rw-r--r--aserver/aserver.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/aserver/aserver.c b/aserver/aserver.c
index d3281f9e..e46cc5d5 100644
--- a/aserver/aserver.c
+++ b/aserver/aserver.c
@@ -499,7 +499,7 @@ int ctl_shm_open(client_t *client, int *cookie)
snd_ctl_t *ctl;
int err;
int result;
- err = snd_ctl_open(&ctl, client->name);
+ err = snd_ctl_open(&ctl, client->name, SND_CTL_NONBLOCK);
if (err < 0)
return err;
client->device.control.handle = ctl;