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

Tanu Kaskinen tanu.kaskinen at intel.com
Wed May 22 05:00:22 PDT 2013


On Wed, 2013-05-15 at 09:39 +0200, Peter Meerwald wrote:
> 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)

Thanks, applied.

-- 
Tanu

---------------------------------------------------------------------
Intel Finland Oy
Registered Address: PL 281, 00181 Helsinki 
Business Identity Code: 0357606 - 4 
Domiciled in Helsinki 

This e-mail and any attachments may contain confidential material for
the sole use of the intended recipient(s). Any review or distribution
by others is strictly prohibited. If you are not the intended
recipient, please contact the sender and delete all copies.


More information about the pulseaudio-discuss mailing list