http://bugs.winehq.org/show_bug.cgi?id=13204
--- Comment #25 from Rafał Mużyło galtgendo@o2.pl 2008-06-27 15:44:10 --- Created an attachment (id=14401) --> (http://bugs.winehq.org/attachment.cgi?id=14401) deprecated alsa functions removal
I think I'll drop the issue. Certain posts on both pulseaudio and alsa made me think that the problem is too complicated for me, as both wine and alsa are a problem. Wine works on incorrect assumptions and alsa doesn't seem to have a way to get the needed values in a sane way (at least not yet, this may eventually change).
Before I quit, I'll attach a patch, that is my guess of how that removal of deprecated alsa functions should have looked like. It's almost the same as the reverted git patch, except for the part, that I think was missing from the original patch.