This patch adds more information to some of the failure messages. It also fixes a bug where garbage data is printed out for the 2 MHz tests. The 2 MHz test now use the WAVE_FORMAT_DIRECT flag when opening. Apparently the wave mapper will accept 2 MHZ as a valid frequency! Don't know if that is a bug or not.
Attachment:
wave.c.diff
Description: application/unknown-content-type-diff_auto_file