Download of dsptest.c (dsptest.c ( external link: SF.net): 1,598 bytes) will begin shortly. If not so, click link on the left.
This is a simple C library for working with the raw data in uncompressed WAV files. There are many better libraries for dealing with WAV files than this one. I wrote this to do some experimenting, and it's probably not the solution you're looking for.