summaryrefslogtreecommitdiffstats
path: root/src/pulsecore/cli-text.c
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2009-01-20 20:35:18 +0100
committerLennart Poettering <lennart@poettering.net>2009-01-20 20:35:18 +0100
commit7368a6e6be5dbbdc8e13003ef6841fe3fe1840bc (patch)
tree0c1fbef18992fcdb5d782f4988d54e25e8e00b10 /src/pulsecore/cli-text.c
parentb3a043fd3179fcb60730466ae43f16ffe14a9b4c (diff)
add priority logic to find best default profile
Diffstat (limited to 'src/pulsecore/cli-text.c')
-rw-r--r--src/pulsecore/cli-text.c2
1 files changed, 1 insertions, 1 deletions
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)