[Jack-Devel] JackGraphOrderCallback - on error?

PrevNext  Index
DateMon, 23 Jul 2012 15:50:20 +0100
From Neil C Smith <[hidden] at neilcsmith dot net>
Tojack-devel <[hidden] at lists dot jackaudio dot org>
Follow-UpPaul Davis Re: [Jack-Devel] JackGraphOrderCallback - on error?
Missed list - b****y GMail. :)

N


---------- Forwarded message ----------
From: Neil C Smith <[hidden]>
Date: 23 July 2012 15:49
Subject: Re: [Jack-Devel] JackGraphOrderCallback - on error?
To: Paul Davis <[hidden]>


Hi Paul,

Thanks for the swift response.  I'll stick to my gut reaction and map
as void.  In fact, is there much reason for any of the callbacks to
return error codes?  My buffer rate and sample rate callbacks were
always mapped to return void.

Best wishes,

Neil

On 23 July 2012 15:41, Paul Davis <[hidden]> wrote:
>
>
> 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.
>
>
> 
> Jack-Devel mailing list
> [hidden]
> http://lists.jackaudio.org/listinfo.cgi/jack-devel-jackaudio.org
>



--
Neil C Smith
Artist : Technologist : Adviser
http://neilcsmith.net

Praxis - open-source intermedia system for live creative play -
http://code.google.com/p/praxis

OpenEye - specialist web solutions for the cultural, education,
charitable and local government sectors - http://openeye.info


-- 
Neil C Smith
Artist : Technologist : Adviser
http://neilcsmith.net

Praxis - open-source intermedia system for live creative play -
http://code.google.com/p/praxis

OpenEye - specialist web solutions for the cultural, education,
charitable and local government sectors - http://openeye.info
PrevNext  Index

1343055029.16449_0.ltw:2,a <CAHvRSocA1AJBNtdHZnsZZ6q3mdg8vZjxa0YA_D+15mHuqcpE2A at mail dot gmail dot com>