Hi, all.
I'm not so good at programming. I just was looking for a way to make possible play sound from WINE to ALSA software device other than "default".
I wrote a patch that allows you to select the ALSA software device from control panel, along with the hardware devices.
Perhaps the code is not so clear and beautiful, but it works for me, and maybe someone wants to send it to the repository, or to correct and send a corrected.