Re: [Jack-Devel] backend switching - another way

PrevNext  Index
DateMon, 21 Feb 2011 20:17:44 +0100
From torbenh <[hidden] at gmx dot de>
To[hidden] at lists dot jackaudio dot org
In-Reply-ToFons Adriaensen [Jack-Devel] backend switching - another way
Follow-UpRobin Gareus Re: [Jack-Devel] backend switching - another way
Follow-UpFons Adriaensen Re: [Jack-Devel] backend switching - another way
On Mon, Feb 21, 2011 at 06:53:03PM +0000, Fons Adriaensen wrote:
> Hello all,
> 
> I've been musing for a long time over the idea 'what if Jack ports
> were persistent' ? In other words, if they could exists irrespective
> of the application that uses them is running or not.
> 
> This has some far-reaching consequences of course, but there is 
> subset of this idea that is not as mad as it seems (IMHO).
> 
> ** What if physical ports were persistent ? **
> 
> More in detail:
> 
> * The number of physical ports and their names are configured
>   by the user. Names are chosen according to the function a
>   port has in the user's setup, e.g. stereo-monitor-L or R.
> 
> * When a backend is started, the inputs and outputs it provides
>   are mapped to the existing persistent ports, again as configured
>   by the user for any particular hardware.
> 
> * These configurations are stored of course, no need to repeat
>   this work if nothing changes.

we need to add code to parse/write/change the port mapping.
all drivers need to be changed (its not deep, but the change would be
pretty big. 

pretty similar behaviour can be obtained with a session handler.
if i understand paul correctly, he does not like to have this complexity
in jackd.
> 
> 
> This would allow:
> 
> * To switch backends without any app being aware of it.
> 
> * A backend to go away (USB or firewire being unplugged)
>   without fatal consequences. Just replug it or replace 
>   it by another one. No need to restart or rewire anything
>   else.
> 
> * To have sessions that are *really* portable, depending only
>   on the availability of some common set of persistent ports.
>   E.g. Ardour's master and/or auditioner would connect to the
>   right ports no matter what they are.
> 
> Comments / flames invited.
> 
> Ciao,
> 
> -- 
> FA
> 
> 
> Jack-Devel mailing list
> [hidden]
> http://lists.jackaudio.org/listinfo.cgi/jack-devel-jackaudio.org

-- 
torben Hohn
PrevNext  Index

1298315882.31761_0.ltw:2,a <20110221191743.GD10799 at siel dot b>