From 7368a6e6be5dbbdc8e13003ef6841fe3fe1840bc Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Tue, 20 Jan 2009 20:35:18 +0100 Subject: add priority logic to find best default profile --- src/pulsecore/cli-text.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/pulsecore/cli-text.c') diff --git a/src/pulsecore/cli-text.c b/src/pulsecore/cli-text.c index f52968d7..947598b5 100644 --- a/src/pulsecore/cli-text.c +++ b/src/pulsecore/cli-text.c @@ -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) -- cgit