[pulseaudio-discuss] [Patch] alsa: Use card description in default sink/source prefix when available

Tanu Kaskinen tanu.kaskinen at linux.intel.com
Fri Mar 14 06:28:49 PDT 2014


On Thu, 2014-03-13 at 10:20 +0000, Pete Beardmore wrote:
> Quoting Tanu Kaskinen <tanu.kaskinen at linux.intel.com>:
> 
> > I have an alternative proposal: pass the pa_card
> > pointer to pa_alsa_init_description() and pa_device_init_description(),
> > and then in pa_device_init_description() use the card's description to
> > set the sink/source description. This way non-alsa specific logic stays
> > in the generic part of the code. Also, we don't need to add the
> > device.card.description property.
> 
> alternative version attached. thanks

Thanks, looks good.

I'd like to include a more concrete explanation of the use case behind
the patch. The commit message says that it's desirable to override
"Built-in Audio" with a more specific description, but at least on my
machine the built-in sound card description is also "Built-in Audio", so
the patch does nothing for me. Have you customized your card
description?

-- 
Tanu



More information about the pulseaudio-discuss mailing list