projects
/
platform
/
upstream
/
pulseaudio.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7aa7a7b
)
dump active profile
author
Lennart Poettering
<lennart@poettering.net>
Tue, 20 Jan 2009 02:24:59 +0000
(
03:24
+0100)
committer
Lennart Poettering
<lennart@poettering.net>
Tue, 20 Jan 2009 02:24:59 +0000
(
03:24
+0100)
src/pulsecore/cli-text.c
patch
|
blob
|
history
diff --git
a/src/pulsecore/cli-text.c
b/src/pulsecore/cli-text.c
index b97c870900193afa6147b32fdcd7d17327a61457..f52968d7b1a60a1cd825eaf030b7fac0c4c52a3e 100644
(file)
--- 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);