Re: [Jack-Devel] jack1 version jack2 public headers comparison

PrevNext  Index
DateMon, 27 Feb 2012 10:16:00 +0100
From [hidden] at linutronix dot de <[hidden] at linutronix dot de
ToDevin Anderson <[hidden] at gmail dot com>
CcJACK <[hidden] at lists dot jackaudio dot org>
In-Reply-ToDevin Anderson Re: [Jack-Devel] jack1 version jack2 public headers comparison
Follow-UpDevin Anderson Re: [Jack-Devel] jack1 version jack2 public headers comparison
On Sat, Feb 25, 2012 at 02:29:34PM -0800, Devin Anderson wrote:
> On Fri, Feb 24, 2012 at 9:44 AM, Stéphane Letz <[hidden]> wrote:
> 
> > Le 24 févr. 2012 à 17:41, Paul Davis a écrit :
> >
> >>> Reworked :
> >>> ==========
> >>>
> >>> jackctl_server_start/jackctl_server_close reworked in a
> >>> jackctl_server_open/jackctl_server_start/jackctl_server_stop/jackctl_server_close
> >>
> >> seems reasonable, though what's the justification?
> >
> >
> > (Not completely sure anymore), but I think it was related to
> > slave backend management when Devin Anderson did the MIDI
> > backend rewrite in JACK2. This open/start/stop/close scheme
> > was a better way to separated the steps.
> 
> See the last four comments on this ticket:
> 
>     http://trac.jackaudio.org/ticket/219

i fail to understand, why this justifies this splitup.
it seems that, in order to add slave drivers, the server needs to be
opened ? 

and because the implementation is lacking support for adding slaves
while the server is running, you need to add them in between.

the implementation in jack1 is equally bad. we even lack the controlapi
bits. however... i dont see why we cant just save a proper list of slave
drivers in the jackctl_server_t which are then instantiated during
server start.

Adding a slave while the server is running would just return false,
until there is a proper implementation. 


-- 
Mit freundlichen Grüßen
Torben Hohn

Linutronix GmbH

Standort: Bremen

Phone: +49 421 166 73 41 ; Fax.: +49 7556 919 886
mailto: [hidden]
Firmensitz / Registered Office: D-88690 Uhldingen, Auf dem Berg 3
Registergericht / Local District Court: Freiburg i. Br., HRB Nr. / Trade
register no.: 700 806;

Geschäftsführer / Managing Directors: Heinz Egger, Thomas Gleixner
PrevNext  Index

1330334179.12795_0.ltw:2,a <20120227091559.GB18457 at lxhb dot hb dot de>