Home
last modified time | relevance | path

Searched refs:cardname (Results 1 – 15 of 15) sorted by relevance

/third_party/alsa-utils/alsactl/
Dalsactl.c241 char *cardname, ncardname[16]; in main() local
401 cardname = argc - optind > 1 ? argv[optind + 1] : NULL; in main()
402 for (tmp = devfiles; cardname != NULL && *tmp != NULL; tmp++) { in main()
404 if (!strncmp(cardname, *tmp, len)) { in main()
405 long l = strtol(cardname + len, NULL, 0); in main()
407 cardname = ncardname; in main()
440 res = init(cfgdir, initfile, initflags | FLAG_UCM_FBOOT | FLAG_UCM_BOOT, cardname); in main()
443 res = save_state(cfgfile, cardname); in main()
449 res = load_state(cfgdir, cfgfile, initfile, initflags, cardname, init_fallback); in main()
452 res = state_daemon(cfgfile, cardname, period, pidfile); in main()
[all …]
Dalsactl.h45 int snd_card_iterator_sinit(struct snd_card_iterator *iter, const char *cardname);
50 int init(const char *cfgdir, const char *file, int flags, const char *cardname);
54 int save_state(const char *file, const char *cardname);
57 const char *cardname, int do_init);
60 int state_daemon(const char *file, const char *cardname, int period,
63 int clean(const char *cardname, char *const *extra_args);
Ddaemon.c90 static void add_card(struct card ***cards, int *count, const char *cardname) in add_card() argument
96 index = snd_card_get_index(cardname); in add_card()
142 char cardname[16]; in add_cards() local
150 sprintf(cardname, "%i", card); in add_cards()
151 add_card(cards, count, cardname); in add_cards()
359 int state_daemon(const char *file, const char *cardname, int period, in state_daemon() argument
382 if (cardname) { in state_daemon()
383 add_card(&cards, &count, cardname); in state_daemon()
447 save_state(file, cardname); in state_daemon()
Dutils.c248 int snd_card_iterator_sinit(struct snd_card_iterator *iter, const char *cardname) in snd_card_iterator_sinit() argument
252 if (cardname) { in snd_card_iterator_sinit()
253 if (strncmp(cardname, "hw:", 3) == 0) in snd_card_iterator_sinit()
254 cardname += 3; in snd_card_iterator_sinit()
255 cardno = snd_card_get_index(cardname); in snd_card_iterator_sinit()
257 error("Cannot find soundcard '%s'...", cardname); in snd_card_iterator_sinit()
Dmonitor.c138 const char *cardname; in prepare_source_entry() local
141 while ((cardname = snd_card_iterator_next(&iter))) { in prepare_source_entry()
142 if (seek_entry_by_name(srcs, cardname)) in prepare_source_entry()
144 err = open_ctl(cardname, &handle); in prepare_source_entry()
147 err = insert_source_entry(srcs, handle, cardname); in prepare_source_entry()
Dclean.c183 int clean(const char *cardname, char *const *extra_args) in clean() argument
188 err = snd_card_iterator_sinit(&iter, cardname); in clean()
Dstate.c1591 int save_state(const char *file, const char *cardname) in save_state() argument
1634 err = snd_card_iterator_sinit(&iter, cardname); in save_state()
1676 const char *cardname, int do_init) in load_state() argument
1692 err = snd_card_iterator_sinit(&iter, cardname); in load_state()
1711 err = snd_card_iterator_sinit(&iter, cardname); in load_state()
Dinit_parse.c1746 int init(const char *cfgdir, const char *filename, int flags, const char *cardname) in init() argument
1753 err = snd_card_iterator_sinit(&iter, cardname); in init()
1772 if (!cardname && err <= -99) { /* non-fatal errors */ in init()
/third_party/alsa-lib/src/control/
Dnamehint.c46 char *cardname; member
186 res = malloc(strlen(list->cardname) + strlen(str2) + 3); in get_dev_name()
188 strcpy(res, list->cardname); in get_dev_name()
193 res = malloc(strlen(list->cardname) + strlen(str2) + strlen(str1) + 6); in get_dev_name()
195 strcpy(res, list->cardname); in get_dev_name()
212 res = malloc(strlen(list->cardname) + strlen(str1) + 19); in get_dev_name()
217 strcpy(res, list->cardname); in get_dev_name()
229 return strdup(list->cardname); in get_dev_name()
519 free(list->cardname); in get_card_name()
520 list->cardname = NULL; in get_card_name()
[all …]
/third_party/alsa-lib/src/conf/cards/
Daliases.alisp21 (defun snd_card_alias (cardname)
22 (setq r (assq cardname snd_card_aliases_array))
23 (setq r (if (null r) cardname r))
/third_party/alsa-utils/alsaconf/
Dalsaconf.in774 echo $cardname
1292 if [ x"$cardname" != x ]; then
1293 menu_args=("${menu_args[@]}" "$card" "$cardname" "on")
1378 if [ -z "$cardname" ]; then
1382 devs_found=("${devs_found[@]}" "$card" "$cardname")
/third_party/alsa-lib/include/sound/uapi/
Dhdspm.h187 char cardname[20]; member
/third_party/flutter/skia/third_party/externals/sdl/src/audio/qsa/
DSDL_qsa_audio.c64 char *cardname; member
113 if (SDL_strcmp(buggycards[it].cardname, scardname) == 0) { in QSA_CheckBuggyCards()
/third_party/gstreamer/gstplugins_base/docs/random/
DChangeLog-0.811278 I assume Ronald forgot to commit the change to have cardname
/third_party/gstreamer/gstplugins_bad/docs/random/
DChangeLog-0.813449 I assume Ronald forgot to commit the change to have cardname