Lines Matching defs:name
123 * The control device name like /dev/snd/controlC0 is accepted, too.
144 if (string[0] == '/') /* device name */
165 * \brief Obtain the card name.
167 * \param name Result - card name corresponding to card number
170 * The value returned in name is allocated with strdup and should be
173 int snd_card_get_name(int card, char **name)
179 if (name == NULL)
188 *name = strdup((const char *)info.name);
189 if (*name == NULL)
195 * \brief Obtain the card long name.
197 * \param name Result - card long name corresponding to card number
200 * The value returned in name is allocated with strdup and should be
203 int snd_card_get_longname(int card, char **name)
209 if (name == NULL)
218 *name = strdup((const char *)info.longname);
219 if (*name == NULL)