diff options
author | Luiz Augusto von Dentz <luiz.von.dentz@intel.com> | 2013-07-15 18:21:26 +0300 |
---|---|---|
committer | Tanu Kaskinen <tanu.kaskinen@linux.intel.com> | 2013-07-15 19:51:45 +0300 |
commit | 16886bbf87cb02c13f4ebe89150c55003e80cac7 (patch) | |
tree | 5295122c15fd7cd6b81e1f362a676068c668a23d /src/utils | |
parent | b98a2e158f2969b7af8522a5632f3848cf93dd85 (diff) |
pactl: Print available flag of card profiles
Diffstat (limited to 'src/utils')
-rw-r--r-- | src/utils/pactl.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/utils/pactl.c b/src/utils/pactl.c index b6d943e03..df47caa41 100644 --- a/src/utils/pactl.c +++ b/src/utils/pactl.c @@ -575,7 +575,8 @@ static void get_card_info_callback(pa_context *c, const pa_card_info *i, int is_ printf(_("\tProfiles:\n")); for (p = i->profiles; p->name; p++) - printf("\t\t%s: %s (sinks: %u, sources: %u, priority: %u)\n", p->name, p->description, p->n_sinks, p->n_sources, p->priority); + printf("\t\t%s: %s (sinks: %u, sources: %u, priority: %u, available: %s)\n", p->name, + p->description, p->n_sinks, p->n_sources, p->priority, pa_yes_no(p->available)); } if (i->active_profile) |