https://bugs.winehq.org/show_bug.cgi?id=52592
--- Comment #12 from Carlo Bramini carlo.bramix@libero.it --- This test program allows to reproduce the bug. On Windows, it prints on the console:
waveOutOpen success waveOutGetID returned waveOutID=-1, expected -1 waveOutGetDevCaps success
On WINE, it prints:
waveOutOpen success waveOutGetID returned waveOutID=63, expected -1 waveOutGetID failed with error 2
You can compile the tiny example with:
i686-w64-mingw32-gcc test_waveout.c -o test_waveout.exe -mconsole -lwinmm
You can replace "i686" with "x86_64" if you want a 64bit executable instead.