http://bugs.winehq.org/show_bug.cgi?id=27956
--- Comment #19 from Andrew Eikum aeikum@codeweavers.com 2011-09-21 08:48:30 CDT --- Forgive me, but are you sure you applied the patch and rebuilt winmm? The log you gave is basically identical to the one without the patch, and I would expect them to behave differently. Specifically, with the patch applied, WINMM_TryDeviceMapping should be called with many different format attempts, instead of just two.
If you are building with -Werror, there's a good possibility that the compile failed, since the patch I gave is just a quick, experimental hack. Can you verify that you're trying with the patch applied and built?