[pulseaudio-discuss] [PATCH] pactl: Use colon to separate priority in profiles output

Peter Meerwald pmeerw at pmeerw.net
Wed May 15 00:39:26 PDT 2013


From: Peter Meerwald <p.meerwald at bct-electronic.com>

for example:
  Profiles:
	input:analog-stereo: Analog Stereo Input (sinks: 0, sources: 1, priority. 60)
	output:analog-stereo: Analog Stereo Output (sinks: 1, sources: 0, priority. 6000)

it should be "priority: xxx", not "priority. xxx"

Signed-off-by: Peter Meerwald <p.meerwald at bct-electronic.com>
---
 src/utils/pactl.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/utils/pactl.c b/src/utils/pactl.c
index 3b6770f..8e6ec76 100644
--- a/src/utils/pactl.c
+++ b/src/utils/pactl.c
@@ -588,7 +588,7 @@ 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)\n", p->name, p->description, p->n_sinks, p->n_sources, p->priority);
     }
 
     if (i->active_profile)
-- 
1.7.9.5



More information about the pulseaudio-discuss mailing list