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

From: Florian Paul Schmidt <mista.tapas@email-addr-hidden>
Date: Wed Jul 26 2006 - 13:12:35 EEST

On Wed, 26 Jul 2006 15:07:13 +1000
Erik de Castro Lopo <mle+la@email-addr-hidden-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 :)

Flo

-- 
Palimm Palimm!
http://tapas.affenbande.org
Received on Wed Jul 26 20:15:03 2006

This archive was generated by hypermail 2.1.8 : Wed Jul 26 2006 - 20:15:03 EEST