Here is an example program which demonstrates the bug. To compile, install mingw32 package and build like this:
i586-mingw32msvc-gcc -o soundtest.exe soundtest.c -lwinmm
You need to supply a test.wav too, in the same directory.
When this program is run it plays test.wav on a loop. I have never got past 28 plays before PlaySound() hangs.
Here is an example program which demonstrates the bug. To compile, install mingw32 package and build like this:
i586-mingw32msv c-gcc -o soundtest.exe soundtest.c -lwinmm
You need to supply a test.wav too, in the same directory.
When this program is run it plays test.wav on a loop. I have never got past 28 plays before PlaySound() hangs.