Re: [Jack-Devel] JackGraphOrderCallback - on error?

PrevNext  Index
DateMon, 23 Jul 2012 10:41:32 -0400
From Paul Davis <[hidden] at linuxaudiosystems dot com>
ToNeil C Smith <[hidden] at neilcsmith dot net>
Ccjack-devel <[hidden] at lists dot jackaudio dot org>
In-Reply-ToNeil C Smith [Jack-Devel] JackGraphOrderCallback - on error?
On Mon, Jul 23, 2012 at 10:24 AM, Neil C Smith <[hidden]> wrote:

> Hi,
>
> Another developer has submitted some code for JNAJack
> (http://code.google.com/p/java-audio-utils/) to implement some missing
> callbacks in the Java mapping, such as the graph order callback.
> Before integrating this I wanted to check what the error code returned
> by the graph order callback actually means and what effect a non-zero
> code actually has (I presume the client can't veto the change(?), so
> does this disconnect the client or do something else?).  I couldn't
> seem to find any documentation of this on the website - please feel
> free to point me to it if I missed something obvious.
>

the return value is incorrect. in jack1, the return value is ignored.
you're absolutely right that there is no possible semantic meaning for any
return code. it should be void.
PrevNext  Index

1343054499.15772_0.ltw:2,a <CAFa_cKmWz8YKXHQmBrM+X35vN1Vk4=7h32XoJj3SuX_WdNKM1w at mail dot gmail dot com>