Home
last modified time | relevance | path

Searched refs:active_profile (Results 1 - 14 of 14) sorted by relevance

/third_party/pulseaudio/src/modules/
H A Dmodule-switch-on-port-available.c42 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->name, "off")) in profile_good_for_output()
77 if (!pa_safe_streq(card->active_profile->input_name, profile->input_name)) in profile_good_for_output()
80 if (card->active_profile->n_sources != profile->n_sources) in profile_good_for_output()
83 if (card->active_profile->max_source_channels != profile->max_source_channels) in profile_good_for_output()
109 if (pa_safe_streq(card->active_profile->name, "off")) in profile_good_for_input()
112 if (!pa_safe_streq(card->active_profile->output_name, profile->output_name)) in profile_good_for_input()
115 if (card->active_profile in profile_good_for_input()
[all...]
H A Dmodule-card-restore.c159 entry->profile = pa_xstrdup(card->active_profile->name); in entry_from_card()
466 entry->profile = pa_xstrdup(card->active_profile->name); in card_profile_changed_callback()
/third_party/pulseaudio/src/modules/bluetooth/
H A Dmodule-bluetooth-policy.c194 if (!pa_streq(card->active_profile->name, "headset_head_unit") && !pa_streq(card->active_profile->name, "handsfree_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") || pa_streq(card->active_profile->name, "handsfree_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()
366 is_active_profile = card->active_profile in profile_available_hook_callback()
[all...]
H A Dmodule-bluez5-device.c2281 p = PA_CARD_PROFILE_DATA(u->card->active_profile); in add_card()
/third_party/pulseaudio/src/modules/dbus/
H A Diface-card.c58 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->name)); 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->name)); in handle_get_all()
412 pa_dbus_append_basic_variant_dict_entry(&dict_iter, property_handlers[PROPERTY_HANDLER_ACTIVE_PROFILE].property_name, DBUS_TYPE_OBJECT_PATH, &active_profile); in handle_get_all()
477 dbus_card->active_profile in card_profile_changed_cb()
[all...]
/third_party/pulseaudio/src/pulsecore/
H A Dcard.c238 card->active_profile = best; in pa_card_choose_initial_profile()
241 pa_log_info("%s: active_profile: %s", card->name, card->active_profile->name); in pa_card_choose_initial_profile()
325 pa_device_port_set_preferred_profile(sink->active_port, profile_name_for_dir(c->active_profile, PA_DIRECTION_OUTPUT)); in update_port_preferred_profile()
328 pa_device_port_set_preferred_profile(source->active_port, profile_name_for_dir(c->active_profile, PA_DIRECTION_INPUT)); in update_port_preferred_profile()
362 if (c->active_profile == profile) { in pa_card_set_profile()
372 * We should just set c->active_profile, and the implementations will in pa_card_set_profile()
380 pa_log_debug("%s: active_profile: %s -> %s", c->name, c->active_profile->name, profile->name); in pa_card_set_profile()
381 c->active_profile in pa_card_set_profile()
[all...]
H A Dcard.h79 pa_card_profile *active_profile; member
H A Dcli-text.c167 card->active_profile->name); in pa_card_list_to_string()
H A Dcli-command.c1902 pa_strbuf_printf(buf, "set-card-profile %s %s\n", card->name, card->active_profile->name); in pa_cli_command_dump()
H A Dprotocol-native.c3219 pa_tagstruct_puts(t, card->active_profile->name); in card_fill_tagstruct()
/third_party/pulseaudio/src/modules/alsa/
H A Dmodule-alsa-card.c218 od = PA_CARD_PROFILE_DATA(c->active_profile); in card_set_profile()
301 d = PA_CARD_PROFILE_DATA(u->card->active_profile); in init_profile()
487 if (u->card->active_profile) in report_jack_state()
488 active_available = u->card->active_profile->available; in report_jack_state()
529 if (profile == u->card->active_profile) in report_jack_state()
535 if (u->card->active_profile) in report_jack_state()
536 pa_card_profile_set_available(u->card->active_profile, active_available); in report_jack_state()
/third_party/pulseaudio/src/pulse/
H A Dintrospect.h610 pa_card_profile_info* active_profile; /**< \deprecated Superseded by active_profile2 */ member
H A Dintrospect.c977 i.active_profile = &i.profiles[j]; in context_get_card_info_callback()
/third_party/pulseaudio/src/utils/
H A Dpactl.c1223 i->active_profile ? pa_json_encoder_add_member_string(encoder, "active_profile", i->active_profile->name) : pa_json_encoder_add_member_null(encoder, "active_profile"); in get_card_info_callback()
1251 if (i->active_profile) in get_card_info_callback()
1253 i->active_profile->name); in get_card_info_callback()

Completed in 29 milliseconds