[PATCH 2/3] winmm: Avoid generic MMSYSERR_ERROR during initialisation.

Joerg-Cyril.Hoehle at t-systems.com Joerg-Cyril.Hoehle at t-systems.com
Fri Oct 26 03:27:12 CDT 2012


Hi,

This can fix bug #28109.  When winmm returns reasonable errors
e.g. MMSYSERR_ALLOCATED, the testsuite does not complain.
(ALLOCATED happens randomly because PA holds the ALSA device
for some time, creating annoying effects when Wine scans all devices)

You'll notice that there are still generic MMSYSERR_ERROR in the code.
Here I only care about open.  This incompleteness is why I had this
code on hold since January.  OTOH, it does something useful, people even
create bugzilla entries about an issue that this solves, so why hold it back?

Andrew Eikum should not have created a driver rewrite that maps all
mmdevapi errors to the generic MMSYSERR_ERROR.  We can do better.

Regards,
	Jörg Höhle
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0002-winmm-Avoid-generic-MMSYSERR_ERROR-during-initialis.patch
Type: application/octet-stream
Size: 7094 bytes
Desc: 0002-winmm-Avoid-generic-MMSYSERR_ERROR-during-initialis.patch
URL: <http://www.winehq.org/pipermail/wine-patches/attachments/20121026/8bb8a006/attachment-0001.obj>


More information about the wine-patches mailing list