Added ctl_elem_lock and unlock...

This commit is contained in:
Jaroslav Kysela 2001-04-19 13:53:08 +00:00
parent 996be745d1
commit 192d3c9226
2 changed files with 4 additions and 0 deletions

View file

@ -111,6 +111,8 @@ typedef struct {
snd_ctl_elem_info_t element_info;
snd_ctl_elem_value_t element_read;
snd_ctl_elem_value_t element_write;
snd_ctl_elem_id_t element_lock;
snd_ctl_elem_id_t element_unlock;
snd_hwdep_info_t hwdep_info;
snd_pcm_info_t pcm_info;
int pcm_prefer_subdevice;

View file

@ -269,6 +269,8 @@ int snd_ctl_elem_list(snd_ctl_t *ctl, snd_ctl_elem_list_t * list);
int snd_ctl_elem_info(snd_ctl_t *ctl, snd_ctl_elem_info_t *info);
int snd_ctl_elem_read(snd_ctl_t *ctl, snd_ctl_elem_value_t *value);
int snd_ctl_elem_write(snd_ctl_t *ctl, snd_ctl_elem_value_t *value);
int snd_ctl_elem_lock(snd_ctl_t *ctl, snd_ctl_elem_id_t *id);
int snd_ctl_elem_unlock(snd_ctl_t *ctl, snd_ctl_elem_id_t *id);
int snd_ctl_hwdep_next_device(snd_ctl_t *ctl, int * device);
int snd_ctl_hwdep_info(snd_ctl_t *ctl, snd_hwdep_info_t * info);
int snd_ctl_pcm_next_device(snd_ctl_t *ctl, int *device);