Re: [Jack-Devel] jack session fix (jack1)

PrevNext  Index
DateSat, 22 Dec 2012 09:48:12 +0100
From Stéphane Letz <[hidden] at grame dot fr>
Torev8 <[hidden] at wp dot pl>
Ccjack-devel <[hidden] at lists dot jackaudio dot org>
In-Reply-Torev8 Re: [Jack-Devel] jack session fix (jack1)
Torben  who write the SM code for jack1 and jack2 can better answer.

Stephane 

Le 22 déc. 2012 à 06:51, rev8 a écrit :

> Ok. so as I understood, already existing session directory is:
> 
> - Jack1 guys => ERROR
> 
> - Jack2 guys.. you support this, so are you think this is bug in your code ? I can provide patch if needed.
> 
> Will be great if this two implementation will be consistent.
> 
> Dnia 27-11-2012 o godz. 21:22 rev8 napisał(a):
>> Hi,
>> 
>> I see your point of view. SM for handling this case should create new 
>> temporary directory and after successful save it can just replace this 
>> previous session dir.
>> 
>> .. but , when some app have a lot of data in session dir then that is 
>> waste of space. I think user should decide and take risk for such case. 
>> At least qjackctl warns before use of existed directory, but after all 
>> if user decide to try save then it allow that.
>> 
>> Situation is more complicated in QuitAndSave mode, because then some 
>> clients may already be closed. That's way I think there should be just 
>> Quit event type. If SM want QuitAndSave then it can do this in two steps 
>> 'save' (check if not error) and quit.
>> 
>> Dnia 27-11-2012 o godz. 20:29 Torben Hohn napisał(a):
>>> On Tue, Nov 27, 2012 at 07:55:43PM +0100, rev8 wrote:
>>>> Hi,
>>>> 
>>>> I create fix for Jack1 session support. This is the case when session
>>> directory already exists (i.e. we just update our session). Jack2
>>> handling this well.
>>>> 
>>>> I hope this time patch is in proper format ;-)
>>> 
>>> The case where the session directory already exists, is an Error.
>>> If some client in the session  fails to save, and some other clients
>>> saved over the session state, you end up with a broken session.
>>> 
>>> If a session manager triggers this condition, it should get fixed.
>>> 
>>> 
>>> --
>>> 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
>> 
>> Best Regards
>> Xj
>> 
>> 
>> 
>> Jack-Devel mailing list
>> [hidden]
>> http://lists.jackaudio.org/listinfo.cgi/jack-devel-jackaudio.org
> 
> 
> 
> Jack-Devel mailing list
> [hidden]
> http://lists.jackaudio.org/listinfo.cgi/jack-devel-jackaudio.org
PrevNext  Index

1356166110.24992_0.ltw:2,a <74D410B9-AC09-4C68-8DD7-E768D80B2B4B at grame dot fr>