that's my point: there's no point in checking the pointer validity after you pass it as an argument to a 3rd party function ;)
I believe Hermann just made a quick hack last night and he got things cleaned up at last :)
Cheers,
J.
--- On Sun, 5/24/09, Fons Adriaensen <fons@email-addr-hidden> wrote:
> From: Fons Adriaensen <fons@email-addr-hidden>
> Subject: Re: [LAD] [ANN] guitarix-0.04.4-1 release
> To: linux-audio-dev@email-addr-hidden
> Date: Sunday, May 24, 2009, 9:48 AM
> On Sun, May 24, 2009 at 05:36:49AM
> -0700, James Warden wrote:
>
>
> > I think any jack function will check if the client
> pointer passed
> > as an argument is valid so it is safe to call
> jack_get_buffer_size
> > before checking the client pointer validity.
>
> Probably (didn't check) Jack will survive, but don't
> expect a valid return value if your client* is bogus.
> What's the point of doing this ?
>
> Ciao,
>
> --
> FA
>
> Io lo dico sempre: l'Italia è troppo stretta e lunga.
>
> _______________________________________________
> Linux-audio-dev mailing list
> Linux-audio-dev@email-addr-hidden
> http://lists.linuxaudio.org/mailman/listinfo/linux-audio-dev
>
_______________________________________________
Linux-audio-dev mailing list
Linux-audio-dev@email-addr-hidden
http://lists.linuxaudio.org/mailman/listinfo/linux-audio-dev
Received on Sun May 24 20:15:01 2009
This archive was generated by hypermail 2.1.8 : Sun May 24 2009 - 20:15:02 EEST