[LAD] jack client autoconnection

Kjetil S. Matheussen k.s.matheussen at notam02.no
Fri Feb 1 18:34:15 UTC 2008


Fons Adriaensen:
>
>> You can be as much of a professional user as you want to.
>> It doesn't change the fact that other professionals might
>> not want the system to behave like you do.
>
>Which again means it should be configurable.

Absolutely. I think a new function for jack would be
better than an environment variable though:

  int jack_autoconnect_playback (jack_client_t *,
                                 int portnum,
                                 const char *source_port);
  int jack_autoconnect_record (jack_client_t *,
                               int portnum,
                               const char *destination_port);

The reason is that this API will make it easier
for programs to make autoconnection configurabe.
Autoconnecting the old way (which includes finding
the physical ports and/or checking environment variables
for ports to connect to, etc.) is a lot more 
hassle than just calling the functions above.



> BTW, JSB may turn in his grave, but I _do_ like the
> sound of sandysth... I still have to go through the
> works to understand the algorithm...

Thank you very much. :-) I don't understand the algorithm
myself, so if someone else understood it, that would
be great. I think its quite similar to green noise,
which I read about later, created by moore at ucsd if
I remember correctly.




More information about the Linux-audio-dev mailing list