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

Pete Beardmore pete.beardmore at msn.com
Thu Mar 13 03:20:43 PDT 2014

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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: alsa_.use.card.description.in.default.sink.source.prefix.when.available.v2.diff
Type: text/x-diff
Size: 6854 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/pulseaudio-discuss/attachments/20140313/a1cb8151/attachment.diff>

More information about the pulseaudio-discuss mailing list