winealsa.drv patch to enum all software devices from .asoundrc

Andrew Eikum aeikum at codeweavers.com
Tue Feb 14 09:29:10 CST 2012


On Mon, Feb 13, 2012 at 12:08:57PM -0800, Chris Robinson wrote:
> For now, I think snd_card_next, with registry options for custom prefixes and 
> an additional set of devices, is the best way to go. There's simply too much 
> junk with snd_ctl_name_hint.
> 

I agree with this analysis. Here's a patch. It uses pipes to separate
device names, since I know commas are meaningful in ALSA. Perhaps
that's not enough, and we need to do quoting?

In any case, this patch ought to be enough to satisfy users for 1.4.
Any thoughts, anyone?

Andrew
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0002-winealsa.drv-Optionally-load-extra-ALSA-device-names.patch
Type: text/x-diff
Size: 4994 bytes
Desc: not available
URL: <http://www.winehq.org/pipermail/wine-devel/attachments/20120214/83e93b1c/attachment.patch>


More information about the wine-devel mailing list