Lines Matching defs:name
48 the "card number"), a name, a longname, a mixername and a "components"
54 index [ID ] Driver - name
64 snd_ctl_open(). This function takes the interface name.
85 - A set of elements with the same attribute (i.e. name, get/put operations).
119 - Its name
123 set of fields (interface type, device, subdevice, name, index).
134 (numid, card, name, ...). See #snd_ctl_elem_list_t to learn more about
145 functions complements the name, index, etc.
150 values (such as the numid or the name).
212 return ctl->name;
244 free(ctl->name);
268 int snd_ctl_new(snd_ctl_t **ctlp, snd_ctl_type_t type, const char *name, int mode)
276 if (name)
277 ctl->name = strdup(name);
427 assert(ctl && info && (info->id.name[0] || info->id.numid));
492 if (ctl == NULL || info->id.name[0] == '\0')
526 * The name field of \a id must be set with unique value to identify new control
528 * identified by the combination of name and index, or by numid.
539 * name, or the number of members is not between 1 to 127.
608 * The name field of \a id must be set with unique value to identify new control
610 * identified by the combination of name and index, or by numid.
620 * <dd>Some arguments include invalid value; i.e. ID has no name, or the number
686 * The name field of \a id must be set with unique value to identify new control
688 * identified by the combination of name and index, or by numid.
698 * <dd>Some parameters include invalid value; i.e. ID has no name, or the number
741 * The name field of \a id must be set with unique value to identify new control
743 * identified by the combination of name and index, or by numid.
823 * The name field of \a id must be set with unique value to identify new control
825 * identified by the combination of name and index, or by numid.
835 * <dd>Some arguments include invalid value; i.e. ID has no name, or the number
873 assert(ctl && id && id->name[0]);
894 assert(ctl && id && id->name[0]);
914 assert(ctl && id && id->name[0]);
936 assert(ctl && id && id->name[0] && labels);
953 * The name field of \a id must be set with unique value to identify a new
955 * can be identified by the combination of name and index, or by numid.
964 * <dd>ID has no name.
977 assert(ctl && id && id->name[0]);
994 assert(ctl && id && (id->name[0] || id->numid));
1015 assert(ctl && data && (data->id.name[0] || data->id.numid));
1036 assert(ctl && data && (data->id.name[0] || data->id.numid));
1087 assert(ctl && id && (id->name[0] || id->numid) && tlv);
1123 assert(ctl && id && (id->name[0] || id->numid) && tlv);
1148 assert(ctl && id && (id->name[0] || id->numid) && tlv);
1440 static int snd_ctl_open_conf(snd_ctl_t **ctlp, const char *name,
1455 if (name)
1456 SNDERR("Invalid type for CTL %s definition", name);
1543 err = open_func(ctlp, name, ctl_root, ctl_conf, mode);
1562 const char *name, int mode, int hop)
1568 err = snd_config_search_definition(root, "ctl", name, &ctl_conf);
1570 SNDERR("Invalid CTL %s", name);
1577 err = snd_ctl_open_conf(ctlp, name, root, ctl_conf, mode);
1584 int _snd_ctl_open_named_child(snd_ctl_t **pctl, const char *name,
1595 return snd_ctl_open_conf(pctl, name, root, conf, mode);
1603 * \param name A string identifying the card (See \ref control_cards_id).
1608 int snd_ctl_open(snd_ctl_t **ctlp, const char *name, int mode)
1613 assert(ctlp && name);
1614 if (_snd_is_ucm_device(name)) {
1615 name = uc_mgr_alibcfg_by_device(&top, name);
1616 if (name == NULL)
1623 err = snd_ctl_open_noupdate(ctlp, top, name, mode, 0);
1631 * \param name ASCII identifier of the CTL handle
1636 int snd_ctl_open_lconf(snd_ctl_t **ctlp, const char *name,
1639 assert(ctlp && name && lconf);
1640 return snd_ctl_open_noupdate(ctlp, lconf, name, mode, 0);
1647 * \param name ASCII identifier of the CTL handle used as fallback
1648 * \param orig_name The original ASCII name
1653 const char *name, const char *orig_name, int mode)
1656 assert(ctlp && name && root);
1657 err = snd_ctl_open_noupdate(ctlp, root, name, mode, 0);
1659 free((*ctlp)->name);
1660 (*ctlp)->name = orig_name ? strdup(orig_name) : NULL;
1697 * \brief get name of a CTL element type
1699 * \return ascii name of CTL element type
1708 * \brief get name of a CTL element related interface
1710 * \return ascii name of CTL element related interface
1719 * \brief get name of a CTL event type
1721 * \return ascii name of CTL event type
1840 * \brief Get name part of CTL element identifier for an element related event
1842 * \return name part of element identifier
1848 return (const char *)obj->data.elem.id.name;
1959 * subdevice, name, index.
1982 d = strcmp((const char *)id1->name, (const char *)id2->name);
2033 * \brief Get name part of a CTL element identifier
2035 * \return CTL element name
2040 return (const char *)obj->name;
2099 * \brief Set name part for a CTL element identifier
2101 * \param val CTL element name
2106 snd_strlcpy((char *)obj->name, val, sizeof(obj->name));
2228 * \brief Get the sound card name from the given info object.
2233 * \return Sound card name.
2238 return (const char *)obj->name;
2242 * \brief Get the sound cards long name from the given info object.
2247 * \return Sound cards long name.
2256 * \brief Get the sound card mixer name from the given info object.
2261 * \return Sound card mixer name.
2533 * \brief Get name part of CTL element identifier for an entry of a CTL element identifiers list
2536 * \return CTL element name
2542 return (const char *)obj->pids[idx].name;
2861 * \brief Get name for selected item in a #SND_CTL_ELEM_TYPE_ENUMERATED CTL element id/info
2863 * \return name of chosen item
2869 return obj->value.enumerated.name;
3022 * \brief Get name part of CTL element identifier of a CTL element id/info
3024 * \return name part of element identifier
3029 return (const char *)obj->id.name;
3099 * \brief Set name part of CTL element identifier of a CTL element id/info
3101 * \param val name part of element identifier
3106 snd_strlcpy((char *)obj->id.name, val, sizeof(obj->id.name));
3311 * \brief Get the identifiers 'name' part from the given element value.
3316 * \return The "name" part of element identifier.
3321 return (const char *)obj->id.name;
3410 * \brief Set the identifiers 'name' part within the given element value.
3415 * \param val The new name.
3420 snd_strlcpy((char *)obj->id.name, val, sizeof(obj->id.name));