Home
last modified time | relevance | path

Searched refs:snd_ctl_elem_id_t (Results 1 – 25 of 33) sorted by relevance

12

/third_party/alsa-lib/include/
Dcontrol.h82 typedef struct _snd_ctl_elem_id snd_ctl_elem_id_t; typedef
396 int snd_ctl_elem_lock(snd_ctl_t *ctl, snd_ctl_elem_id_t *id);
397 int snd_ctl_elem_unlock(snd_ctl_t *ctl, snd_ctl_elem_id_t *id);
398 int snd_ctl_elem_tlv_read(snd_ctl_t *ctl, const snd_ctl_elem_id_t *id,
400 int snd_ctl_elem_tlv_write(snd_ctl_t *ctl, const snd_ctl_elem_id_t *id,
402 int snd_ctl_elem_tlv_command(snd_ctl_t *ctl, const snd_ctl_elem_id_t *id,
432 void snd_ctl_event_elem_get_id(const snd_ctl_event_t *obj, snd_ctl_elem_id_t *ptr);
442 char *snd_ctl_ascii_elem_id_get(snd_ctl_elem_id_t *id);
443 int snd_ctl_ascii_elem_id_parse(snd_ctl_elem_id_t *dst, const char *str);
455 int snd_ctl_elem_id_malloc(snd_ctl_elem_id_t **ptr);
[all …]
Dcontrol_external.h159 int (*elem_list)(snd_ctl_ext_t *ext, unsigned int offset, snd_ctl_elem_id_t *id);
163 snd_ctl_ext_key_t (*find_elem)(snd_ctl_ext_t *ext, const snd_ctl_elem_id_t *id);
241 int (*read_event)(snd_ctl_ext_t *ext, snd_ctl_elem_id_t *id, unsigned int *event_mask);
Daserver.h130 snd_ctl_elem_id_t element_lock;
131 snd_ctl_elem_id_t element_unlock;
Dpcm_external.h61 int snd_pcm_parse_control_id(snd_config_t *conf, snd_ctl_elem_id_t *ctl_id, int *cardp,
Duse-case.h526 int snd_use_case_parse_ctl_elem_id(snd_ctl_elem_id_t *dst,
/third_party/alsa-utils/alsactl/
Dclean.c31 static int clean_one_control(snd_ctl_t *handle, snd_ctl_elem_id_t *elem_id, in clean_one_control()
32 snd_ctl_elem_id_t **filter) in clean_one_control()
75 static void filter_controls_free(snd_ctl_elem_id_t **_filter) in filter_controls_free()
77 snd_ctl_elem_id_t **filter; in filter_controls_free()
84 static int filter_controls_parse(char *const *controls, snd_ctl_elem_id_t ***_filter) in filter_controls_parse()
86 snd_ctl_elem_id_t **filter = NULL; in filter_controls_parse()
97 filter = calloc(count + 1, sizeof(snd_ctl_elem_id_t *)); in filter_controls_parse()
129 snd_ctl_elem_id_t *elem_id; in clean_controls()
130 snd_ctl_elem_id_t **filter; in clean_controls()
Ddaemon.c35 snd_ctl_elem_id_t **list;
156 static int compare_ids(snd_ctl_elem_id_t *id1, snd_ctl_elem_id_t *id2) in compare_ids()
167 static int in_list(struct id_list *list, snd_ctl_elem_id_t *id) in in_list()
170 snd_ctl_elem_id_t *id1; in in_list()
182 static void remove_from_list(struct id_list *list, snd_ctl_elem_id_t *id) in remove_from_list()
194 static void add_to_list(struct id_list *list, snd_ctl_elem_id_t *id) in add_to_list()
196 snd_ctl_elem_id_t *id1; in add_to_list()
197 snd_ctl_elem_id_t **n; in add_to_list()
217 static int check_lists(struct card *card, snd_ctl_elem_id_t *id) in check_lists()
245 snd_ctl_elem_id_t *id; in card_events()
Dstate.c33 static char *id_str(snd_ctl_elem_id_t *id) in id_str()
165 static int add_tlv_comments(snd_ctl_t *handle, snd_ctl_elem_id_t *id, in add_tlv_comments()
228 static int get_control(snd_ctl_t *handle, snd_ctl_elem_id_t *id, snd_config_t *top) in get_control()
553 snd_ctl_elem_id_t *elem_id; in get_controls()
900 snd_ctl_elem_id_t *id; in add_user_control()
1031 snd_ctl_t *device, snd_ctl_elem_id_t *id, in convert_to_new_db()
1072 snd_ctl_elem_id_t *id; in check_comment_range()
1487 snd_ctl_elem_id_t *elem_id; in set_controls()
Dinit_parse.c76 snd_ctl_elem_id_t *ctl_id;
508 static int ctl_match(snd_ctl_elem_id_t *pattern, snd_ctl_elem_id_t *id) in ctl_match()
694 snd_ctl_elem_id_t *id; in elemid_get()
725 snd_ctl_elem_id_t *id; in elemid_get()
751 void (*fcn)(snd_ctl_elem_id_t *, unsigned int); in elemid_set()
/third_party/alsa-lib/src/control/
Dcontrol.c863 int snd_ctl_elem_add_integer(snd_ctl_t *ctl, const snd_ctl_elem_id_t *id, in snd_ctl_elem_add_integer()
884 int snd_ctl_elem_add_integer64(snd_ctl_t *ctl, const snd_ctl_elem_id_t *id, in snd_ctl_elem_add_integer64()
905 int snd_ctl_elem_add_boolean(snd_ctl_t *ctl, const snd_ctl_elem_id_t *id, in snd_ctl_elem_add_boolean()
926 int snd_ctl_elem_add_enumerated(snd_ctl_t *ctl, const snd_ctl_elem_id_t *id, in snd_ctl_elem_add_enumerated()
969 int snd_ctl_elem_add_iec958(snd_ctl_t *ctl, const snd_ctl_elem_id_t *id) in snd_ctl_elem_add_iec958()
988 int snd_ctl_elem_remove(snd_ctl_t *ctl, snd_ctl_elem_id_t *id) in snd_ctl_elem_remove()
1037 const snd_ctl_elem_id_t *id, in snd_ctl_tlv_do()
1079 int snd_ctl_elem_tlv_read(snd_ctl_t *ctl, const snd_ctl_elem_id_t *id, in snd_ctl_elem_tlv_read()
1116 int snd_ctl_elem_tlv_write(snd_ctl_t *ctl, const snd_ctl_elem_id_t *id, in snd_ctl_elem_tlv_write()
1141 int snd_ctl_elem_tlv_command(snd_ctl_t *ctl, const snd_ctl_elem_id_t *id, in snd_ctl_elem_tlv_command()
[all …]
Dcontrol_local.h35 int (*element_remove)(snd_ctl_t *handle, snd_ctl_elem_id_t *id);
38 int (*element_lock)(snd_ctl_t *handle, snd_ctl_elem_id_t *lock);
39 int (*element_unlock)(snd_ctl_t *handle, snd_ctl_elem_id_t *unlock);
71 snd_ctl_elem_id_t id; /* must be always on top */
124 int __snd_ctl_ascii_elem_id_parse(snd_ctl_elem_id_t *dst,
Dcontrol_remap.c64 snd_ctl_elem_id_t id_child;
65 snd_ctl_elem_id_t id_app;
69 snd_ctl_elem_id_t map_id;
74 snd_ctl_elem_id_t id_child;
173 static snd_ctl_remap_id_t *remap_find_id_child(snd_ctl_remap_t *priv, snd_ctl_elem_id_t *id) in remap_find_id_child()
191 static snd_ctl_remap_id_t *remap_find_id_app(snd_ctl_remap_t *priv, snd_ctl_elem_id_t *id) in remap_find_id_app()
223 static snd_ctl_map_t *remap_find_map_id(snd_ctl_remap_t *priv, snd_ctl_elem_id_t *id) in remap_find_map_id()
237 static int remap_id_to_child(snd_ctl_remap_t *priv, snd_ctl_elem_id_t *id, snd_ctl_remap_id_t **_ri… in remap_id_to_child()
267 static int remap_id_to_app(snd_ctl_remap_t *priv, snd_ctl_elem_id_t *id, snd_ctl_remap_id_t *rid, i… in remap_id_to_app()
344 snd_ctl_elem_id_t *id; in snd_ctl_remap_elem_list()
[all …]
Dcontrol_ext.c97 snd_ctl_elem_id_t *ids; in snd_ctl_ext_elem_list()
118 static snd_ctl_ext_key_t get_elem(snd_ctl_ext_t *ext, snd_ctl_elem_id_t *id) in get_elem()
203 snd_ctl_elem_id_t *id ATTRIBUTE_UNUSED) in snd_ctl_ext_elem_remove()
316 snd_ctl_elem_id_t *id ATTRIBUTE_UNUSED) in snd_ctl_ext_elem_lock()
322 snd_ctl_elem_id_t *id ATTRIBUTE_UNUSED) in snd_ctl_ext_elem_unlock()
335 snd_ctl_elem_id_t id; in snd_ctl_ext_elem_tlv()
Dctlparse.c117 char *snd_ctl_ascii_elem_id_get(snd_ctl_elem_id_t *id) in snd_ctl_ascii_elem_id_get()
156 int __snd_ctl_ascii_elem_id_parse(snd_ctl_elem_id_t *dst, const char *str, in __snd_ctl_ascii_elem_id_parse()
272 int snd_ctl_ascii_elem_id_parse(snd_ctl_elem_id_t *dst, const char *str) in snd_ctl_ascii_elem_id_parse()
352 snd_ctl_elem_id_t myid = {0}; in snd_ctl_ascii_value_parse()
Dtlv.c422 static int get_tlv_info(snd_ctl_t *ctl, const snd_ctl_elem_id_t *id, in get_tlv_info()
455 int snd_ctl_get_dB_range(snd_ctl_t *ctl, const snd_ctl_elem_id_t *id, in snd_ctl_get_dB_range()
476 int snd_ctl_convert_to_dB(snd_ctl_t *ctl, const snd_ctl_elem_id_t *id, in snd_ctl_convert_to_dB()
499 int snd_ctl_convert_from_dB(snd_ctl_t *ctl, const snd_ctl_elem_id_t *id, in snd_ctl_convert_from_dB()
Dcontrol_hw.c180 static int snd_ctl_hw_elem_remove(snd_ctl_t *handle, snd_ctl_elem_id_t *id) in snd_ctl_hw_elem_remove()
204 static int snd_ctl_hw_elem_lock(snd_ctl_t *handle, snd_ctl_elem_id_t *id) in snd_ctl_hw_elem_lock()
212 static int snd_ctl_hw_elem_unlock(snd_ctl_t *handle, snd_ctl_elem_id_t *id) in snd_ctl_hw_elem_unlock()
Dhcontrol.c232 static int get_compare_weight(const snd_ctl_elem_id_t *id) in get_compare_weight()
320 static int _snd_hctl_find_elem(snd_hctl_t *hctl, const snd_ctl_elem_id_t *id, int *dir) in _snd_hctl_find_elem()
551 snd_hctl_elem_t *snd_hctl_find_elem(snd_hctl_t *hctl, const snd_ctl_elem_id_t *id) in snd_hctl_find_elem()
909 void snd_hctl_elem_get_id(const snd_hctl_elem_t *obj, snd_ctl_elem_id_t *ptr) in snd_hctl_elem_get_id()
Dcontrol_shm.c160 snd_ctl_elem_id_t *pids = list->pids; in snd_ctl_shm_elem_list()
217 static int snd_ctl_shm_elem_lock(snd_ctl_t *ctl, snd_ctl_elem_id_t *id) in snd_ctl_shm_elem_lock()
231 static int snd_ctl_shm_elem_unlock(snd_ctl_t *ctl, snd_ctl_elem_id_t *id) in snd_ctl_shm_elem_unlock()
Dsetup.c44 snd_ctl_elem_id_t *id;
255 snd_ctl_elem_id_t id = {0}; in snd_config_get_ctl_elem_value()
/third_party/alsa-utils/alsaloop/
Dalsaloop.h64 snd_ctl_elem_id_t *id;
217 int control_parse_id(const char *str, snd_ctl_elem_id_t *id);
218 int control_id_match(snd_ctl_elem_id_t *id1, snd_ctl_elem_id_t *id2);
Dcontrol.c29 static char *id_str(snd_ctl_elem_id_t *id) in id_str()
43 int control_parse_id(const char *str, snd_ctl_elem_id_t *id) in control_parse_id()
140 int control_id_match(snd_ctl_elem_id_t *id1, snd_ctl_elem_id_t *id2) in control_id_match()
407 snd_ctl_elem_id_t *id2; in control_event()
/third_party/alsa-utils/amixer/
Damixer.c434 static void show_control_id(snd_ctl_elem_id_t *id) in show_control_id()
605 snd_ctl_elem_id_t *id; in show_control()
723 snd_ctl_elem_id_t *id; in controls()
1133 snd_ctl_elem_id_t *id; in cset()
1524 snd_ctl_elem_id_t *id; in events_info()
1534 snd_ctl_elem_id_t *id; in events_value()
1544 snd_ctl_elem_id_t *id; in events_remove()
1567 snd_ctl_elem_id_t *id; in events_add()
/third_party/alsa-lib/test/
Duser-ctl-element-set.c21 snd_ctl_elem_id_t *id;
446 snd_ctl_elem_id_t *id; in check_elem_list()
517 snd_ctl_elem_id_t *id; in check_elem_set_props()
/third_party/alsa-lib/src/pcm/
Dpcm_softvol.c760 int ctl_card, snd_ctl_elem_id_t *ctl_id, in softvol_load_control()
917 int ctl_card, snd_ctl_elem_id_t *ctl_id, in snd_pcm_softvol_open()
986 static int _snd_pcm_parse_control_id(snd_config_t *conf, snd_ctl_elem_id_t *ctl_id, in _snd_pcm_parse_control_id()
1161 snd_ctl_elem_id_t ctl_id = {0}; in _snd_pcm_softvol_open()
/third_party/alsa-lib/src/alisp/
Dalisp_snd.c475 static struct alisp_object * create_ctl_elem_id(struct alisp_instance * instance, snd_ctl_elem_id_t in create_ctl_elem_id()
488 snd_ctl_elem_id_t * id) in parse_ctl_elem_id()
527 snd_ctl_elem_id_t id = {0}; in FA_hctl_find_elem()
550 snd_ctl_elem_id_t id = {0}; in FA_hctl_elem_info()

12