diff options
author | Abramo Bagnara <abramo@alsa-project.org> | 2001-03-26 12:45:48 +0000 |
---|---|---|
committer | Abramo Bagnara <abramo@alsa-project.org> | 2001-03-26 12:45:48 +0000 |
commit | 7893ea238d5ae042dc2e689f049da0f512d3b415 (patch) | |
tree | 6518f242a3da6fa11c439998d0265fd77d0b395f /src/control/control_local.h | |
parent | 4bee8c56784d06f08accebf1d2e3656729c1b11c (diff) |
Added mode argument to open functions where it was missing. First part of CTL documentation
Diffstat (limited to 'src/control/control_local.h')
-rw-r--r-- | src/control/control_local.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/control/control_local.h b/src/control/control_local.h index 198dc7b6..6bbd0e78 100644 --- a/src/control/control_local.h +++ b/src/control/control_local.h @@ -51,6 +51,8 @@ struct _snd_ctl { snd_ctl_ops_t *ops; void *private_data; int nonblock; + int async_sig; + pid_t async_pid; }; struct _snd_hctl_elem { @@ -77,5 +79,5 @@ struct _snd_hctl { int _snd_ctl_poll_descriptor(snd_ctl_t *ctl); -int snd_ctl_hw_open(snd_ctl_t **handle, const char *name, int card); -int snd_ctl_shm_open(snd_ctl_t **handlep, const char *name, const char *socket, const char *sname); +int snd_ctl_hw_open(snd_ctl_t **handle, const char *name, int card, int mode); +int snd_ctl_shm_open(snd_ctl_t **handlep, const char *name, const char *socket, const char *sname, int mode); |