https://bugs.winehq.org/show_bug.cgi?id=52592
--- Comment #8 from Rafał Mużyło galtgendo@o2.pl --- ...sorry, that's again nonsense...
What would work would be what follows your report: after WINMM_DecomposeHWAVE, 'if (*lpuDeviceID == MAPPER_INDEX) *lpuDeviceID = -1;'.