libao wav driver saves strange noise instead of sound which is played by wmm plugin
I modified slightly sample which is shipped with library and added ability to save wav files. But to my surprise saved files aren't useable at all. I attaching source code and sample file produced by it.