Home
last modified time | relevance | path

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

/third_party/pulseaudio/src/modules/
H A Dmodule-switch-on-port-available.c136 pa_card_profile *best_profile = NULL, *profile; in try_to_switch_profile() local
173 if (best_profile && best_prio >= prio) in try_to_switch_profile()
176 best_profile = profile; in try_to_switch_profile()
180 if (!best_profile) { in try_to_switch_profile()
185 if (pa_card_set_profile(port->card, best_profile, false) != 0) { in try_to_switch_profile()
186 pa_log_debug("Could not set profile %s", best_profile->name); in try_to_switch_profile()
370 pa_card_profile *profile, *best_profile; in find_best_profile() local
374 best_profile = pa_hashmap_get(card->profiles, "off"); in find_best_profile()
380 if (profile->priority > best_profile->priority) in find_best_profile()
381 best_profile in find_best_profile()
[all...]

Completed in 2 milliseconds