Win32 project tell compiler to align struct members at 8 bytes in memory.
This causes the Wave file reader to fail on special multichannel wave files. If wave file header includes WAVFORMATEXTENSIBLE the GUID is wrong.
Solution:
modify project settings and align struct members at 1 bytes (works well)
- or -
rewrite wave header parsing
Best regards
cthien.