[linux-audio-dev] C++ wrapper for libsndfile

Erik de Castro Lopo mle+la at mega-nerd.com
Sun Jul 30 00:04:01 UTC 2006

Erik de Castro Lopo wrote:

> Hi all,
> Thanks to suggestions from people here I now have a relatively
> complete C++ wrapper for libsndfile:
>     http://www.mega-nerd.com/tmp/sndfile.hh

I've updated this with the following:

  - Templatize the read/write/readf/writef methods.
  - Stop (potentially) leaking SNDFILE* pointers in the open*()
  - Change the SF_INFO pointer to const in:
      Sndfile (const char *path, int mode, const SF_INFO *sfinfo_in) ;

  Erik de Castro Lopo
"Software is largely a service industry operating under the persistent
but unfounded delusion that it is a manufacturing industry."
-- Eric S. Raymond

More information about the Linux-audio-dev mailing list