Comment 7 for bug 605827

Revision history for this message
Alistair Buxton (a-j-buxton) wrote :

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.