dump active profile
authorLennart Poettering <lennart@poettering.net>
Tue, 20 Jan 2009 02:24:59 +0000 (03:24 +0100)
committerLennart Poettering <lennart@poettering.net>
Tue, 20 Jan 2009 02:24:59 +0000 (03:24 +0100)
src/pulsecore/cli-text.c

index b97c870900193afa6147b32fdcd7d17327a61457..f52968d7b1a60a1cd825eaf030b7fac0c4c52a3e 100644 (file)
@@ -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);