Hi,
- generate a PCM sine wave tone (like winmm/tests/wave.c);
Actually any repetitive signal may not be good enough for general purpose, sine or square. Perhaps add some change in volume?
For instance, there currently is a bug somewhere that causes Wine to repeat the first second of an intro animation's sound (bug #18182, comment #3) instead of continuing. This would probably not be detected.
Also, the µ-law speech sample I fed to the MCI produces stuttering. Perhaps that would not be heard with a sine wave, if the periods match.
Still it's better to have a test than currently no test at all!
It is also quite simple to generate sine waves without any trig.
Code for sine is already in winmm/tests/wave.c No need to reinvent.
Regards, Jörg Höhle