summaryrefslogtreecommitdiffstats
path: root/src/pulsecore
diff options
context:
space:
mode:
Diffstat (limited to 'src/pulsecore')
-rw-r--r--src/pulsecore/cli-text.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/pulsecore/cli-text.c b/src/pulsecore/cli-text.c
index b97c8709..f52968d7 100644
--- a/src/pulsecore/cli-text.c
+++ b/src/pulsecore/cli-text.c
@@ -145,6 +145,11 @@ char *pa_card_list_to_string(pa_core *c) {
pa_strbuf_printf(s, "\t\t%s: %s\n", p->name, p->description);
}
+ if (card->active_profile)
+ pa_strbuf_printf(
+ s,
+ "\tactive profile: <%s>\n",
+ card->active_profile->name);
}
return pa_strbuf_tostring_free(s);