[linux-audio-dev] light C++ set for WAV
Florian Paul Schmidt
mista.tapas at gmx.net
Wed Jul 26 10:12:35 UTC 2006
On Wed, 26 Jul 2006 15:07:13 +1000
Erik de Castro Lopo <mle+la at mega-nerd.com> wrote:
> > > My own rather feeble first attempt is here:
> > >
> > > http://www.mega-nerd.com/tmp/sndfile.hh
> > >
> > > but I am not a fan nor a great user of C++. The wrapper should
> > > really be written by someone with a love for the language.
> > I use C++ a lot, and I gotta say, this wrapper isn't bad at all. I
Well, it is very thin though. Which is not a bad thing at all. One could
make ue of an arbitrary amount of more advanced C++ features if desired
though (i.e. templates parametrized with the type you want to read for
example, or operator<< and operator>> for reading and writing, etc.)
> > prefer lower case method names, but that's about it.
> Oh, cool, a response at last :-).
> Well first off, it isn't quite complete and it hasn't been
> properly tested either.
> Secondly, with regard to the method names, which do you prefer:
> - OpenRead
> - openRead
> - open_read
vote++, i never cared for the more java style methodName convention.
> - something else
> Since you're the only person who actually responded to the real
> meat of my email, I have to assume that you are the only person
> on this list with a love for C++ and hence the only one who
> should have any real input on this issue ;-).
Nicely worded :)
More information about the Linux-audio-dev