Home
last modified time | relevance | path

Searched refs:pa_card_set_profile (Results 1 – 10 of 10) sorted by relevance

/third_party/pulseaudio/src/pulsecore/
Dcard.h142 int pa_card_set_profile(pa_card *c, pa_card_profile *profile, bool save);
Dcard.c350 int pa_card_set_profile(pa_card *c, pa_card_profile *profile, bool save) { in pa_card_set_profile() function
Dcli-command.c1672 if (pa_card_set_profile(card, profile, true) < 0) { in pa_cli_command_card_profile()
Dprotocol-native.c4878 if ((ret = pa_card_set_profile(card, profile, true)) < 0) { in command_set_card_profile()
/third_party/pulseaudio/src/modules/bluetooth/
Dmodule-bluetooth-policy.c165 if (pa_card_set_profile(card, profile, false) != 0) { in card_set_profile()
388 if (pa_card_set_profile(card, selected_profile, false) != 0) in profile_available_hook_callback()
Dmodule-bluez5-device.c2168 … pa_assert_se(pa_card_set_profile(u->card, pa_hashmap_get(u->card->profiles, "off"), false) >= 0); in set_profile_cb()
2409 … pa_assert_se(pa_card_set_profile(u->card, pa_hashmap_get(u->card->profiles, "off"), false) >= 0); in transport_state_changed_cb()
2504 … pa_assert_se(pa_card_set_profile(u->card, pa_hashmap_get(u->card->profiles, "off"), false) >= 0); in switch_codec_cb_handler()
2695 … pa_assert_se(pa_card_set_profile(u->card, pa_hashmap_get(u->card->profiles, "off"), false) >= 0); in bluez5_device_message_handler()
2711 … pa_assert_se(pa_card_set_profile(m->card, pa_hashmap_get(m->card->profiles, "off"), false) >= 0); in device_process_msg()
2843 … pa_assert_se(pa_card_set_profile(u->card, pa_hashmap_get(u->card->profiles, "off"), false) >= 0); in pa__init()
/third_party/pulseaudio/src/modules/
Dmodule-switch-on-port-available.c185 if (pa_card_set_profile(port->card, best_profile, false) != 0) { in try_to_switch_profile()
405 pa_card_set_profile(card, find_best_profile(card), false); in card_profile_available_hook_callback()
Dmodule-card-restore.c497 if (pa_card_set_profile(profile->card, profile, true) >= 0) in card_profile_added_callback()
602 pa_card_set_profile(card, profile, true); in card_choose_initial_profile_callback()
/third_party/pulseaudio/src/modules/dbus/
Diface-card.c351 …if ((r = pa_card_set_profile(c->card, pa_dbusiface_card_profile_get_profile(new_active), true)) < … in handle_set_active_profile()
/third_party/pulseaudio/src/modules/alsa/
Dmodule-alsa-card.c1089 pa_card_set_profile(u->card, profile, false); in pa__init()