[linux-audio-dev] newest audio server for Linux (yep, yet another)

Bob Ham rah at bash.sh
Wed Feb 5 06:22:01 UTC 2003


On Wed, 2003-02-05 at 00:26, Josh Haberman wrote:
> On Tue, 2003-02-04 at 13:41, Bob Ham wrote:
> > On Tue, 2003-02-04 at 20:47, Josh Haberman wrote:
> > 
> > > Imagine being able to write to an API as simple and well-designed as
> > > this: <http://www.portaudio.com/docs/v19-doxydocs/portaudio_8h.html>
> > 
> > Just out of interest, why are paNoDevice, paFloat32, etc, defines
> > instead of const values?
> 
> I don't really know.  Isn't that kind of a six/half-dozen detail? 

Probably.  I think it was Bjarne Stroustrup who said something along the
lines of "Every use of a define is an instance of a programmer not
programming correctly."  But I was just wondering if it was some
portability thing or something.

Bob

-- 
Bob Ham <rah at bash.sh>




More information about the Linux-audio-dev mailing list