/third_party/alsa-utils/alsactl/ |
H A D | daemon.c | 90 static void add_card(struct card ***cards, int *count, const char *cardname) in add_card() argument 100 if ((*cards)[i] == NULL) { in add_card() 103 if ((*cards)[i]->index == index) in add_card() 126 (*cards)[findex] = card; in add_card() 128 cc = realloc(*cards, sizeof(void *) * (*count + 1)); in add_card() 135 *cards = cc; in add_card() 139 static void add_cards(struct card ***cards, int *count) in add_cards() argument 151 add_card(cards, count, cardname); in add_cards() 365 struct card **cards = NULL; in state_daemon() local 383 add_card(&cards, in state_daemon() [all...] |
/third_party/pulseaudio/src/utils/ |
H A D | pa-info | 25 local cards=() 27 [[ $line =~ $re ]] && cards+="${BASH_REMATCH[1]} " 29 echo $cards 32 local cards=($(cards_get)) 33 for card in "${cards[@]}" ; do
|
/third_party/alsa-utils/alsamixer/ |
H A D | card_select.c | 125 fatal_alsa_error(_("cannot enumerate sound cards"), err); in get_cards() 158 static void create_list_items(int cards) in create_list_items() argument 165 items = ccalloc(cards + 1, sizeof(ITEM*)); in create_list_items() 179 assert(i == cards); in create_list_items() 184 int cards; in create_card_select_list() local 186 cards = get_cards(); in create_card_select_list() 187 create_list_items(cards); in create_card_select_list()
|
/third_party/pulseaudio/src/modules/dbus/ |
H A D | iface-core.c | 97 pa_hashmap *cards; member 604 const char **cards; in get_cards() local 612 *n = pa_hashmap_size(c->cards); in get_cards() 617 cards = pa_xnew(const char *, *n); in get_cards() 619 PA_HASHMAP_FOREACH(card, c->cards, state) in get_cards() 620 cards[i++] = pa_dbusiface_card_get_path(card); in get_cards() 622 return cards; in get_cards() 627 const char **cards; in handle_get_cards() local 634 cards = get_cards(c, &n); in handle_get_cards() 636 pa_dbus_send_basic_array_variant_reply(conn, msg, DBUS_TYPE_OBJECT_PATH, cards, in handle_get_cards() 1068 const char **cards; handle_get_all() local [all...] |
/third_party/json/tests/src/ |
H A D | unit-conversions.cpp | 1504 enum class cards {kreuz, pik, herz, karo}; class 1507 NLOHMANN_JSON_SERIALIZE_ENUM(cards, 1509 {cards::kreuz, "kreuz"}, 1510 {cards::pik, "pik"}, 1511 {cards::pik, "puk"}, // second entry for cards::puk; will not be used 1512 {cards::herz, "herz"}, 1513 {cards::karo, "karo"} 1538 CHECK(json(cards::kreuz) == "kreuz"); 1539 CHECK(json(cards [all...] |
/third_party/pulseaudio/src/modules/bluetooth/ |
H A D | module-bluetooth-policy.c | 183 /* Only consider bluetooth cards */ in switch_profile() 189 /* In revert_to_a2dp phase only consider cards with will_need_revert flag and remove it */ in switch_profile() 255 /* Switch profile for all cards */ 256 static void switch_profile_all(pa_idxset *cards, bool revert_to_a2dp, void *userdata) { in switch_profile_all() argument 260 PA_IDXSET_FOREACH(card, cards, idx) in switch_profile_all() 272 switch_profile_all(c->cards, false, userdata); in source_output_put_hook_callback() 288 switch_profile_all(c->cards, true, userdata); in source_output_unlink_hook_callback() 302 /* Only consider bluetooth cards */ in card_init_profile_hook_callback() 355 /* Only consider bluetooth cards */ in profile_available_hook_callback() 398 PA_IDXSET_FOREACH(card, core->cards, stat in handle_all_profiles() [all...] |
H A D | backend-ofono.c | 80 pa_hashmap *cards; member 431 pa_hashmap_put(backend->cards, card->path, card); in hf_audio_agent_card_found() 447 card = pa_hashmap_remove(backend->cards, path); in hf_audio_agent_card_removed() 465 pa_log_error("Failed to get a list of handsfree audio cards from ofono: %s: %s", in hf_audio_agent_get_cards_reply() 507 pa_hashmap_remove_all(backend->cards); in ofono_bus_id_destroy() 701 card = pa_hashmap_get(backend->cards, path); in hf_audio_agent_new_connection() 778 backend->cards = pa_hashmap_new_full(pa_idxset_string_hash_func, pa_idxset_string_compare_func, NULL, in pa_bluetooth_ofono_backend_new() 790 /* dynamic detection of handsfree audio cards */ in pa_bluetooth_ofono_backend_new() 839 pa_hashmap_free(backend->cards); in pa_bluetooth_ofono_backend_free()
|
/third_party/pulseaudio/src/pulsecore/ |
H A D | core.c | 141 c->cards = pa_idxset_new(NULL, NULL); in pa_core_new() 231 pa_assert(pa_idxset_isempty(c->cards)); in core_free() 232 pa_idxset_free(c->cards, NULL); in core_free()
|
H A D | core.h | 166 pa_idxset *clients, *cards, *sinks, *sources, *sink_inputs, *source_outputs, *modules, *scache; member
|
H A D | namereg.c | 224 return pa_idxset_get_by_index(c->cards, idx); in pa_namereg_get()
|
H A D | card.c | 250 pa_assert_se(pa_idxset_put(card->core->cards, card, &card->index) >= 0); in pa_card_put() 270 pa_idxset_remove_by_data(c->core->cards, c, NULL); in pa_card_free()
|
H A D | cli-text.c | 133 pa_strbuf_printf(s, "%u card(s) available.\n", pa_idxset_size(c->cards)); in pa_card_list_to_string() 135 PA_IDXSET_FOREACH(card, c->cards, idx) { in pa_card_list_to_string()
|
H A D | protocol-native.c | 3436 card = pa_idxset_get_by_index(c->protocol->core->cards, idx); in command_get_info() 3506 i = c->protocol->core->cards; in command_get_info_list() 4669 card = pa_idxset_get_by_index(c->protocol->core->cards, idx); in command_set_card_profile() 4775 card = pa_idxset_get_by_index(c->protocol->core->cards, idx); in command_set_port_latency_offset()
|
H A D | cli-command.c | 146 { "list-cards", pa_cli_command_cards, "List cards", 1 }, 1895 PA_IDXSET_FOREACH(card, c->cards, idx) { in pa_cli_command_dump()
|
/third_party/pulseaudio/speex/libspeexdsp/ |
H A D | echo_diagnostic.m | 59 printf ('Your clock is drifting! No way the AEC will be able to do anything with that. Most likely, you''re doing capture and playback from two different cards.\n');
|
/third_party/alsa-lib/src/ucm/ |
H A D | parser.c | 2879 /* scan all cards and comments 2895 int i, j, cnt, err, cards; in uc_mgr_scan_master_configs() local 2901 cards = 0; in uc_mgr_scan_master_configs() 2908 cards++; in uc_mgr_scan_master_configs() 2910 cards += 4; /* plug-and-play */ in uc_mgr_scan_master_configs() 2947 list = calloc(1, (cards + cnt) * 2 * sizeof(char *)); in uc_mgr_scan_master_configs() 2954 while (j / 2 < cards) { in uc_mgr_scan_master_configs()
|
/third_party/pulseaudio/src/modules/ |
H A D | module-switch-on-port-available.c | 310 * anyway, so we ignore bluetooth cards in in port_available_hook_callback() 415 PA_IDXSET_FOREACH(card, core->cards, state) { in handle_all_unavailable() 603 PA_IDXSET_FOREACH(card, m->core->cards, idx) in pa__init()
|
/third_party/alsa-utils/alsa-info/ |
H A D | alsa-info.sh | 465 cat /proc/asound/cards > $TEMPDIR/alsacards.tmp 472 #Check for HDA-Intel cards codec#* 475 #Check for AC97 cards codec
|