Also have a look at libsndfile:

   http://www.mega-nerd.com/libsndfile/

Erik
--

Oh, great....this actually solves me a number of problems. Thanks a lot!

-------    -.-
1/f   )))  --.
-------    ...
http://www.algomantra.com