summaryrefslogtreecommitdiffstats
path: root/src/pulsecore/cli-text.c
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2009-01-20 03:24:59 +0100
committerLennart Poettering <lennart@poettering.net>2009-01-20 03:24:59 +0100
commit85bc5eb39aa19d0b6fab26d388415a3c066043f0 (patch)
tree953c6239dec48a203e50d55fc0bac1d08b93e0e4 /src/pulsecore/cli-text.c
parent7aa7a7b6ac39371bbc7cd46ddf5d50ffd6e2a965 (diff)
dump active profile
Diffstat (limited to 'src/pulsecore/cli-text.c')
-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);