Lines Matching defs:name

53 Later on, the attributes of client such as its name string can be changed
400 You can create a queue with a certain name by #snd_seq_alloc_named_queue(), too.
803 return seq->name;
821 static int snd_seq_open_conf(snd_seq_t **seqp, const char *name,
840 if (name)
841 SNDERR("Invalid type for SEQ %s definition", name);
918 err = open_func(seqp, name, seq_root, seq_conf, streams, mode);
928 const char *name, int streams, int mode,
933 err = snd_config_search_definition(root, "seq", name, &seq_conf);
935 SNDERR("Unknown SEQ %s", name);
939 err = snd_seq_open_conf(seqp, name, root, seq_conf, streams, mode);
950 * \param name The sequencer's "name". This is \em not a name you make
974 int snd_seq_open(snd_seq_t **seqp, const char *name,
980 assert(seqp && name);
981 if (_snd_is_ucm_device(name)) {
982 name = uc_mgr_alibcfg_by_device(&top, name);
983 if (name == NULL)
990 err = snd_seq_open_noupdate(seqp, top, name, streams, mode, 0);
999 * \param name The name to open
1006 * is that the given configuration is used to resolve abstract name.
1010 int snd_seq_open_lconf(snd_seq_t **seqp, const char *name,
1013 assert(seqp && name && lconf);
1014 return snd_seq_open_noupdate(seqp, lconf, name, streams, mode, 0);
1018 int _snd_seq_open_lconf(snd_seq_t **seqp, const char *name,
1023 assert(seqp && name && lconf);
1026 return snd_seq_open_noupdate(seqp, lconf, name, streams, mode, hop + 1);
1053 free(seq->name);
1505 * \brief Get the name of a client_info container
1507 * \return name string
1514 return info->name;
1552 * with the card number and using it as the <code>name</code> parameter
1810 * \brief Set the name of a client_info container
1812 * \param name name string
1817 void snd_seq_client_info_set_name(snd_seq_client_info_t *info, const char *name)
1819 assert(info && name);
1820 snd_strlcpy(info->name, name, sizeof(info->name));
2173 * \brief Get the name of a port_info container
2175 * \return name string
2182 return info->name;
2394 * \brief Set the name of a port_info container
2396 * \param name name string
2400 void snd_seq_port_info_set_name(snd_seq_port_info_t *info, const char *name)
2402 assert(info && name);
2403 snd_strlcpy(info->name, name, sizeof(info->name));
3312 * \brief Get the name of a queue_info container
3314 * \return name string
3321 return info->name;
3364 * \brief Set the name of a queue_info container
3366 * \param name name string
3370 void snd_seq_queue_info_set_name(snd_seq_queue_info_t *info, const char *name)
3372 assert(info && name);
3373 snd_strlcpy(info->name, name, sizeof(info->name));
3436 * \brief allocate a queue with the specified name
3438 * \param name the name of the new queue
3443 int snd_seq_alloc_named_queue(snd_seq_t *seq, const char *name)
3448 if (name)
3449 snd_strlcpy(info.name, name, sizeof(info.name));
3516 * \brief query the matching queue with the specified name
3518 * \param name the name string to query
3521 * Searches the matching queue with the specified name string.
3525 int snd_seq_query_named_queue(snd_seq_t *seq, const char *name)
3529 assert(seq && name);
3530 snd_strlcpy(info.name, name, sizeof(info.name));