mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-11-02 09:01:46 -05:00
add priority logic to find best default profile
This commit is contained in:
parent
b3a043fd31
commit
7368a6e6be
6 changed files with 43 additions and 15 deletions
|
|
@ -142,7 +142,7 @@ char *pa_card_list_to_string(pa_core *c) {
|
|||
"\tprofiles:\n");
|
||||
|
||||
while ((p = pa_hashmap_iterate(card->profiles, &state, NULL)))
|
||||
pa_strbuf_printf(s, "\t\t%s: %s\n", p->name, p->description);
|
||||
pa_strbuf_printf(s, "\t\t%s: %s (priority %u)\n", p->name, p->description, p->priority);
|
||||
}
|
||||
|
||||
if (card->active_profile)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue