/third_party/pulseaudio/src/modules/ |
D | module-switch-on-port-available.c | 42 pa_card_profile *active_profile; member 55 info->active_profile = card->active_profile; in card_info_new() 74 if (!pa_safe_streq(card->active_profile->input_name, profile->input_name)) in profile_good_for_output() 77 if (card->active_profile->n_sources != profile->n_sources) in profile_good_for_output() 80 if (card->active_profile->max_source_channels != profile->max_source_channels) in profile_good_for_output() 106 if (!pa_safe_streq(card->active_profile->output_name, profile->output_name)) in profile_good_for_input() 109 if (card->active_profile->n_sinks != profile->n_sinks) in profile_good_for_input() 112 if (card->active_profile->max_sink_channels != profile->max_sink_channels) in profile_good_for_input() 222 card->active_profile == pa_hashmap_get(port->profiles, card->active_profile->name); in find_port_pointers() 224 …pa_safe_streq(port->preferred_profile, profile_name_for_dir(card->active_profile, port->direction)… in find_port_pointers() [all …]
|
D | module-card-restore.c | 157 entry->profile = pa_xstrdup(card->active_profile->name); in entry_from_card() 445 entry->profile = pa_xstrdup(card->active_profile->name); in card_profile_changed_callback()
|
/third_party/pulseaudio/src/modules/bluetooth/ |
D | module-bluetooth-policy.c | 194 if (!pa_streq(card->active_profile->name, "headset_head_unit")) in switch_profile() 198 if (pa_streq(card->active_profile->name, "a2dp_sink")) in switch_profile() 202 if (!pa_streq(card->active_profile->name, "a2dp_sink")) in switch_profile() 206 if (pa_streq(card->active_profile->name, "headset_head_unit")) in switch_profile() 308 if (card->active_profile && in card_init_profile_hook_callback() 309 !pa_streq(card->active_profile->name, "a2dp_sink")) in card_init_profile_hook_callback() 330 pa_card_profile *result = card->active_profile; in find_best_profile() 364 is_active_profile = card->active_profile == profile; in profile_available_hook_callback() 370 …if (card->active_profile->available == PA_AVAILABLE_YES && card->active_profile->priority >= profi… in profile_available_hook_callback() 380 if (selected_profile == card->active_profile) in profile_available_hook_callback()
|
D | module-bluez5-device.c | 2071 p = PA_CARD_PROFILE_DATA(u->card->active_profile); in add_card()
|
/third_party/pulseaudio/src/modules/dbus/ |
D | iface-card.c | 58 pa_card_profile *active_profile; member 314 const char *active_profile; in handle_get_active_profile() local 320 …active_profile = pa_dbusiface_card_profile_get_path(pa_hashmap_get(c->profiles, c->active_profile-… in handle_get_active_profile() 321 pa_dbus_send_basic_variant_reply(conn, msg, DBUS_TYPE_OBJECT_PATH, &active_profile); in handle_get_active_profile() 383 const char *active_profile = NULL; in handle_get_all() local 395 …active_profile = pa_dbusiface_card_profile_get_path(pa_hashmap_get(c->profiles, c->active_profile-… in handle_get_all() 412 …y_handlers[PROPERTY_HANDLER_ACTIVE_PROFILE].property_name, DBUS_TYPE_OBJECT_PATH, &active_profile); in handle_get_all() 477 dbus_card->active_profile = dbus_card->card->active_profile; in card_profile_changed_cb() 479 …siface_card_profile_get_path(pa_hashmap_get(dbus_card->profiles, dbus_card->active_profile->name)); in card_profile_changed_cb() 570 c->active_profile = card->active_profile; in pa_dbusiface_card_new()
|
/third_party/pulseaudio/src/pulsecore/ |
D | card.c | 221 card->active_profile = best; in pa_card_choose_initial_profile() 223 pa_log_info("%s: active_profile: %s", card->name, card->active_profile->name); in pa_card_choose_initial_profile() 302 …ort_set_preferred_profile(sink->active_port, profile_name_for_dir(c->active_profile, PA_DIRECTION_… in update_port_preferred_profile() 305 …t_set_preferred_profile(source->active_port, profile_name_for_dir(c->active_profile, PA_DIRECTION_… in update_port_preferred_profile() 320 if (c->active_profile == profile) { in pa_card_set_profile() 338 pa_log_debug("%s: active_profile: %s -> %s", c->name, c->active_profile->name, profile->name); in pa_card_set_profile() 339 c->active_profile = profile; in pa_card_set_profile()
|
D | card.h | 79 pa_card_profile *active_profile; member
|
D | cli-text.c | 167 card->active_profile->name); in pa_card_list_to_string()
|
D | cli-command.c | 1856 pa_strbuf_printf(buf, "set-card-profile %s %s\n", card->name, card->active_profile->name); in pa_cli_command_dump()
|
D | protocol-native.c | 3348 pa_tagstruct_puts(t, card->active_profile->name); in card_fill_tagstruct()
|
/third_party/pulseaudio/src/modules/alsa/ |
D | module-alsa-card.c | 209 od = PA_CARD_PROFILE_DATA(c->active_profile); in card_set_profile() 292 d = PA_CARD_PROFILE_DATA(u->card->active_profile); in init_profile() 468 if (u->card->active_profile) in report_jack_state() 469 active_available = u->card->active_profile->available; in report_jack_state() 502 if (profile == u->card->active_profile) in report_jack_state() 508 if (u->card->active_profile) in report_jack_state() 509 pa_card_profile_set_available(u->card->active_profile, active_available); in report_jack_state()
|
/third_party/pulseaudio/src/pulse/ |
D | introspect.h | 593 pa_card_profile_info* active_profile; /**< \deprecated Superseded by active_profile2 */ member
|
D | introspect.c | 977 i.active_profile = &i.profiles[j]; in context_get_card_info_callback()
|
/third_party/pulseaudio/src/utils/ |
D | pactl.c | 628 if (i->active_profile) in get_card_info_callback() 630 i->active_profile->name); in get_card_info_callback()
|
/third_party/pulseaudio/vala/ |
D | libpulse.vapi | 1418 public CardProfileInfo *active_profile;
|