[linux-audio-dev] light C++ set for WAV

Erik de Castro Lopo mle+la at mega-nerd.com
Wed Jul 26 20:58:32 UTC 2006

Dmitry Baikov wrote:

> Hi, Erik!
> I'd suggest making all wrapper functions inline,
> as they are one-liners by definition and
> anyway wrapper includes libsndfile headers.
> So there's nothing to hide here.

Yes, that was my idea. So if the sndfile.hh has:

    class Sndile
           int method (/* params */) ;

    int method (/* params */)
         /* whatever */

do I need to add an inline keyword anywhere and if so where?

  Erik de Castro Lopo
"It has been discovered that C++ provides a remarkable facility
for concealing the trival details of a program -- such as where 
its bugs are." -- David Keppel

More information about the Linux-audio-dev mailing list