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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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



[Index of Archives]     [Linux Audio Users]     [AMD Graphics]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux