http://bugs.winehq.org/show_bug.cgi?id=28109
--- Comment #8 from Jörg Höhle hoehle@users.sourceforge.net 2012-11-01 08:19:26 CDT ---
WAVE_MAPPED -> WAVERR_BADFORMAT
One test to perform on a w9x machine (no kernel mixer): 1. waveInOpen(device=2, flags=0) then without waveClose: 2. waveInOpen(device=2, flags=WAVE_MAPPED)
It could be that this behaves differently from waveInOpen(device=-1=WAVE_MAPPER, ...)
I.e. when asked for the specific device #2 and that is allocated, then native might realize that there's no point in trying out msacm codecs and it might return MMSYSERR_ALLOCATED instead of BADFORMAT.
Another test on w9x may be to disable all sound cards via the menu, then run the winmm tests.