Added ctl_elem_lock and unlock code...

This commit is contained in:
Jaroslav Kysela 2001-04-19 13:53:39 +00:00
parent 192d3c9226
commit 12a47782cb
4 changed files with 74 additions and 0 deletions

View file

@ -33,6 +33,8 @@ typedef struct _snd_ctl_ops {
int (*element_info)(snd_ctl_t *handle, snd_ctl_elem_info_t *info);
int (*element_read)(snd_ctl_t *handle, snd_ctl_elem_value_t *control);
int (*element_write)(snd_ctl_t *handle, snd_ctl_elem_value_t *control);
int (*element_lock)(snd_ctl_t *handle, snd_ctl_elem_id_t *lock);
int (*element_unlock)(snd_ctl_t *handle, snd_ctl_elem_id_t *unlock);
int (*hwdep_next_device)(snd_ctl_t *handle, int *device);
int (*hwdep_info)(snd_ctl_t *handle, snd_hwdep_info_t * info);
int (*pcm_next_device)(snd_ctl_t *handle, int *device);