]> git.alsa-project.org Git - alsa-lib.git/commitdiff
Added ctl_elem_lock and unlock...
authorJaroslav Kysela <perex@perex.cz>
Thu, 19 Apr 2001 13:53:08 +0000 (13:53 +0000)
committerJaroslav Kysela <perex@perex.cz>
Thu, 19 Apr 2001 13:53:08 +0000 (13:53 +0000)
include/aserver.h
include/control.h

index 4d52d337ed196cd9701576fc8f848fa7d7de7a2b..365afacaa0b5ac690066027050eae873af545a33 100644 (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;
index 740e337bc44c6dc7effb6d6fcbb5eab4da1c2485..9261e37229a287835164b92b02bd914be1356a27 100644 (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);