title: How do you read/write audio files using the libsndfile C++ wrapper?
body: <p><em><a href="http://www.mega-nerd.com/libsndfile/">libsndfile</a></em> is a C library for reading and writing WAV files, and it also includes a C++ wrapper, which I'd like to use.</p>
  
  <p>However, although the C API documentation is very thorough, I cannot figure out how to use the C++ wrapper to read audio files (though there are <a href="http://parumi.wordpress.com/2007/12/16/how-to-write-wav-files-in-c-using-libsndfile/">examples on the web about <em>writing</em></a>).</p>
  
  <p>Is there any actual documentation or examples using this API? Or should I just give up on using this wrapper, and instead use the C API directly?</p>