Libsndfile is a C library for reading and writing files containing sampled sound (such as MS Windows WAV and the Apple/SGI AIFF format) through one standard library interface. WWW: http://www.zip.com.au/~erikd/libsndfile/