Questions about maximum number of ports

View: New views
3 Messages — Rating Filter:   Alert me  

Questions about maximum number of ports

by James Warden :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


Hello,

- what is the maximum number of ports the jackd server
can be configured to handle ?

- Is this number the same in both jack1 and jack2 ?

- is there a hardcoded limit that prevents the user from
configuring an insane number of ports (e.g. setting a negative
number would blow any unsigned int) ?

- does this settable number of ports apply to input and
output ports respectively (audio as well as MIDI) ?
e.g. if I set it to 128, then jackd will handle at most 128 audio
input ports, 128 audio output ports (and same for MIDI)

- does the jackd API allow a client to retrieve this number ?

Thanks for any info on the matter.

J.


     
_______________________________________________
Jack-Devel mailing list
Jack-Devel@...
http://lists.jackaudio.org/listinfo.cgi/jack-devel-jackaudio.org

Re: Questions about maximum number of ports

by Paul Davis :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Sat, Jun 6, 2009 at 12:37 PM, James Warden<warjamy@...> wrote:
>
> Hello,
>
> - what is the maximum number of ports the jackd server
> can be configured to handle ?
>
> - Is this number the same in both jack1 and jack2 ?

in jack1, its given by the command line option --port-max and has no
upper limit.
in jack2, the same command line option applies but there is a
hard-coded upper limit.

> - is there a hardcoded limit that prevents the user from
> configuring an insane number of ports (e.g. setting a negative
> number would blow any unsigned int) ?
>
> - does this settable number of ports apply to input and
> output ports respectively (audio as well as MIDI) ?

all ports are considered equal and equivalent for this purpose.

> e.g. if I set it to 128, then jackd will handle at most 128 audio
> input ports, 128 audio output ports (and same for MIDI)
>
> - does the jackd API allow a client to retrieve this number ?

no.
_______________________________________________
Jack-Devel mailing list
Jack-Devel@...
http://lists.jackaudio.org/listinfo.cgi/jack-devel-jackaudio.org

Re: Questions about maximum number of ports

by Stéphane Letz :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


Le 6 juin 09 à 20:10, Paul Davis a écrit :

> On Sat, Jun 6, 2009 at 12:37 PM, James Warden<warjamy@...>  
> wrote:
>>
>> Hello,
>>
>> - what is the maximum number of ports the jackd server
>> can be configured to handle ?
>>
>> - Is this number the same in both jack1 and jack2 ?
>
> in jack1, its given by the command line option --port-max and has no
> upper limit.
> in jack2, the same command line option applies but there is a
> hard-coded upper limit.
>

Not exactly, right now  in JACK2 the "pot-max" is a compile time  
option and does not have a hard-coded upper limit.

Stephane
_______________________________________________
Jack-Devel mailing list
Jack-Devel@...
http://lists.jackaudio.org/listinfo.cgi/jack-devel-jackaudio.org