mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-11-04 13:29:59 -05:00
dump active profile
This commit is contained in:
parent
7aa7a7b6ac
commit
85bc5eb39a
1 changed files with 5 additions and 0 deletions
|
|
@ -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);
|
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);
|
return pa_strbuf_tostring_free(s);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue