[Portaudio] Re: proposed changes document

Alberto di Bene dibene@usa.net
Mon, 22 Oct 2001 18:26:32 +0200


> II. Allow NULL buffer pointers... give the callback a raw view of the
> world - pass every buffer that is recived by the drivers, even ones that
> will later be discarded. When buffers don't exist, pass NULL.
>
> III. Don't allow NULL buffer pointers... give the callback the same raw view
> of the world as II but use extra flags instead of NULL buffer pointers.

Maybe I'm simple-minded (yes, I am...), but, why it is considered more easy
for the users to check a flag instead of checking for a NULL pointer ?
In my simple mind the two things are exactly equivalent...

Alberto di Bene