From 85bc5eb39aa19d0b6fab26d388415a3c066043f0 Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Tue, 20 Jan 2009 03:24:59 +0100 Subject: dump active profile --- src/pulsecore/cli-text.c | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/pulsecore/cli-text.c') 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); -- cgit