Home
last modified time | relevance | path

Searched refs:numid (Results 1 - 13 of 13) sorted by relevance

/third_party/alsa-lib/src/control/
H A Dcontrol_remap.c90 snd_ctl_numid_t *numid; member
104 static snd_ctl_numid_t *remap_numid_temp(snd_ctl_remap_t *priv, unsigned int numid) in remap_numid_temp() argument
106 priv->numid_temp.numid_child = numid; in remap_numid_temp()
107 priv->numid_temp.numid_app = numid; in remap_numid_temp()
113 snd_ctl_numid_t *numid; in remap_find_numid_app() local
118 numid = priv->numid; in remap_find_numid_app()
119 for (count = priv->numid_items; count > 0; count--, numid++) in remap_find_numid_app()
120 if (numid_app == numid->numid_app) in remap_find_numid_app()
121 return numid; in remap_find_numid_app()
128 snd_ctl_numid_t *numid; remap_numid_new() local
163 snd_ctl_numid_t *numid; remap_find_numid_child() local
211 remap_find_map_numid(snd_ctl_remap_t *priv, unsigned int numid) remap_find_map_numid() argument
243 snd_ctl_numid_t *numid; remap_id_to_child() local
272 snd_ctl_numid_t *numid; remap_id_to_app() local
349 snd_ctl_numid_t *numid; snd_ctl_remap_elem_list() local
648 snd_ctl_numid_t *numid; remap_get_map_numid() local
666 remap_map_elem_tlv(snd_ctl_remap_t *priv, int op_flag, unsigned int numid, unsigned int *tlv, unsigned int tlv_size) remap_map_elem_tlv() argument
714 snd_ctl_remap_elem_tlv(snd_ctl_t *ctl, int op_flag, unsigned int numid, unsigned int *tlv, unsigned int tlv_size) snd_ctl_remap_elem_tlv() argument
842 snd_ctl_numid_t *numid; snd_ctl_remap_read() local
981 snd_ctl_numid_t *numid; new_map() local
[all...]
H A Dctlparse.c119 unsigned int numid, index, device, subdevice; in snd_ctl_ascii_elem_id_get() local
123 numid = snd_ctl_elem_id_get_numid(id); in snd_ctl_ascii_elem_id_get()
125 if (numid > 0) { in snd_ctl_ascii_elem_id_get()
126 snprintf(buf, sizeof(buf), "numid=%u,iface=%s,name='%s'", in snd_ctl_ascii_elem_id_get()
127 numid, iface, snd_ctl_elem_id_get_name(id)); in snd_ctl_ascii_elem_id_get()
159 int c, size, numid; in __snd_ctl_ascii_elem_id_parse() local
169 if (!strncasecmp(str, "numid=", 6)) { in __snd_ctl_ascii_elem_id_parse()
171 numid = atoi(str); in __snd_ctl_ascii_elem_id_parse()
172 if (numid <= 0) { in __snd_ctl_ascii_elem_id_parse()
173 fprintf(stderr, "amixer: Invalid numid in __snd_ctl_ascii_elem_id_parse()
[all...]
H A Dcontrol_ext.c110 ids->numid = offset + 1; /* fake number */ in snd_ctl_ext_elem_list()
120 int numid = id->numid; in get_elem() local
121 if (numid > 0) { in get_elem()
122 ext->callback->elem_list(ext, numid - 1, id); in get_elem()
123 id->numid = numid; in get_elem()
125 id->numid = 0; in get_elem()
328 unsigned int numid, in snd_ctl_ext_elem_tlv()
342 if (numid > in snd_ctl_ext_elem_tlv()
327 snd_ctl_ext_elem_tlv(snd_ctl_t *handle, int op_flag, unsigned int numid, unsigned int *tlv, unsigned int tlv_size) snd_ctl_ext_elem_tlv() argument
[all...]
H A Dcontrol.c114 - The numid (a numeric identifier, assigned when the sound card is
122 An element can be identified either by its short numid or by the full
125 but in practice this is rare). The numid can change on each boot.
126 In case of an USB sound card, the numid can also change when it
127 is reconnected. The short numid is used to reduce the lookup time.
134 (numid, card, name, ...). See #snd_ctl_elem_list_t to learn more about
144 properties. E.g. when the element is addressed using its numid, the
150 values (such as the numid or the name).
427 assert(ctl && info && (info->id.name[0] || info->id.numid)); in snd_ctl_elem_info()
528 * identified by the combination of name and index, or by numid
559 unsigned int numid; snd_ctl_add_integer_elem_set() local
641 unsigned int numid; snd_ctl_add_integer64_elem_set() local
[all...]
H A Dcontrol_hw.c222 unsigned int numid, in snd_ctl_hw_elem_tlv()
242 xtlv->numid = numid; in snd_ctl_hw_elem_tlv()
221 snd_ctl_hw_elem_tlv(snd_ctl_t *handle, int op_flag, unsigned int numid, unsigned int *tlv, unsigned int tlv_size) snd_ctl_hw_elem_tlv() argument
H A Dhcontrol.c465 return c1->id.numid - c2->id.numid; in snd_hctl_compare_fast()
923 return obj->id.numid; in snd_hctl_elem_get_numid()
H A Dcontrol_local.h40 int (*element_tlv)(snd_ctl_t *handle, int op_flag, unsigned int numid,
/third_party/alsa-utils/alsactl/
H A Dstate.c869 unsigned int numid; in get_comment_items() local
873 numid = atoi(id); in get_comment_items()
874 if (numid > 999999) in get_comment_items()
877 if (numid >= items->count) { in get_comment_items()
878 const char **strings = realloc(items->strings, (numid + 1) * sizeof(char *)); in get_comment_items()
881 for (i = items->count; i < numid + 1; ++i) in get_comment_items()
883 items->count = numid + 1; in get_comment_items()
886 err = snd_config_get_string(item, &items->strings[numid]); in get_comment_items()
1181 unsigned int numid, int doit) in restore_config_value2()
1193 cerror(doit, "bad control.%d.value.%d content", numid, id in restore_config_value2()
1177 restore_config_value2(snd_ctl_t *handle, snd_ctl_elem_info_t *info, snd_ctl_elem_type_t type, snd_config_t *value, snd_ctl_elem_value_t *ctl, int idx, unsigned int numid, int doit) restore_config_value2() argument
1214 unsigned int numid; set_control() local
[all...]
/third_party/alsa-lib/test/
H A Duser-ctl-element-set.c520 unsigned int numid; in check_elem_set_props() local
530 numid = snd_ctl_elem_id_get_numid(trial->id); in check_elem_set_props()
540 if (numid > 0) in check_elem_set_props()
541 snd_ctl_elem_info_set_numid(info, numid + i); in check_elem_set_props()
615 unsigned int numid; in check_elems() local
623 numid = snd_ctl_elem_id_get_numid(trial->id); in check_elems()
633 if (numid > 0) in check_elems()
634 snd_ctl_elem_value_set_numid(data, numid + i); in check_elems()
/third_party/alsa-utils/alsaloop/
H A Dcontrol.c48 int c, size, numid; in control_parse_id() local
57 if (!strncasecmp(str, "numid=", 6)) { in control_parse_id()
59 numid = atoi(str); in control_parse_id()
60 if (numid <= 0) { in control_parse_id()
61 logit(LOG_CRIT, "Invalid numid %d\n", numid); in control_parse_id()
/third_party/alsa-lib/include/
H A Dcontrol_external.h69 typedef int (snd_ctl_ext_tlv_rw_t)(snd_ctl_ext_t *ext, snd_ctl_ext_key_t key, int op_flag, unsigned int numid,
/third_party/alsa-lib/include/sound/uapi/
H A Dasound.h1090 unsigned int numid; /* numeric identifier, zero = invalid */ member
1162 unsigned int numid; /* control element numeric identification */ member
/third_party/alsa-lib/src/alisp/
H A Dalisp_snd.c477 cons = add_cons(instance, cons, 0, "numid", new_integer(instance, snd_ctl_elem_id_get_numid(id))); in create_ctl_elem_id()
496 id->numid = 0; in parse_ctl_elem_id()
503 } else if (!strcmp(xid, "numid")) { in parse_ctl_elem_id()

Completed in 18 milliseconds