Hi Torben,

A few questions that I cannot seem to dig out of the otherwise very useful
diffs:

What tools are available to test Jack session manager code? The examples
only seemed to deal with the client side of things, not the actual session
manager itself so I was wondering how the client code can be exercised.

No interest in adding something like the following:
enum JackSessionEventType {
JackSessionLoad = 4,
Maybe this has already been discussed in which case just drop it. The
interest was an ability to reload the same session settings without having
to break down and restart all the apps - is there another way to do this as
it looked a bit like the session files were only read by the client at init time.

I am a bit confused about the following from the seq24 diffs:

+    Glib::ustring cmd( "seq24 --file \"${SESSION_DIR}file.mid\" --jack_session_uuid " );
...
+    m_jsession_ev->command_line = strdup( cmd.c_str() );

This is the command string used to start the app the next time around. What about
other options that might have been given the first time around? If an app does not have
them saved with the user settings then are pure runtime options lost? Is it the applications
responsibility to ensure that the 'file' above contains all the parameters needed to start
the app in the same way? Just curious, it puts a bit more onus onto the app developer
rather than the session manager.

What does the UUID consist of?

Regards, nick.

"we have to make sure the old choice [Windows] doesn't disappear”.
Jim Wong, president of IT products, Acer




> Date: Mon, 29 Mar 2010 21:06:16 +0200
> From: torbenh@gmx.de
> To: linux-audio-dev@lists.linuxaudio.org
> Subject: Re: [LAD] jack-session finally merged.
>
> On Mon, Mar 29, 2010 at 05:07:03PM +0100, Rui Nuno Capela wrote:
> > On Mon, 29 Mar 2010 17:00:01 +0200, torbenh <torbenh@gmx.de> wrote:
> > >
> > > regarding app support:
> > >
> > > already patched apps:
> > > - jack-rack
> > > - ghostess
> > > - specimen
> > > - guitarix
> > >
> > > in queue:
> > > - ardour
> > > - fst
> > > - seq24
> > >
> > >
> > > i expect most jack apps for which session support makes sense to support
> > > the API sooner or later.
> > >
> >
> > fwiw, qtractor svn trunk already has full jack-session support
> > (qtractor-0.4.5.1542+)
> >
> > highly experimental and untested though--any brave souls out there ?:)
> >
> > nb. all lazy/artificial restrictions that plagued qtractor before have
> > been dropped
>
> cool. thanks.
>
> jack_set_session_callback is a weak symbol. please test if its not zero
> before using it.
>
> if(jack_set_session_callback)
> jack_set_session_callback( x, y, z )
>
> theoretically you would need to test the other symbols too,
> but they exist if jack_set_session_callback exists, and the codepath
> is triggered by the callback, so that should be ok.
>
> also please use ${SESSION_DIR} in the commandline string returned.
> this allows the SM to move session dirs around.
> it includes the directory separator.
>
>
>
> --
> torben Hohn
> _______________________________________________
> Linux-audio-dev mailing list
> Linux-audio-dev@lists.linuxaudio.org
> http://lists.linuxaudio.org/listinfo/linux-audio-dev


Hotmail: Trusted email with Microsoft’s powerful SPAM protection. Sign up now.