<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Verdana
}
--></style>
</head>
<body class='hmmessage'>
Hi Torben,<br><br>A few questions that I cannot seem to dig out of the otherwise very useful<br>diffs:<br><br>What tools are available to test Jack session manager code? The examples<br>only seemed to deal with the client side of things, not the actual session<br>manager itself so I was wondering how the client code can be exercised.<br><br>No interest in adding something like the following:<br><pre class="wiki">enum JackSessionEventType {<br>    JackSessionLoad = 4,<br></pre>Maybe this has already been discussed in which case just drop it. The<br>interest was an ability to reload the same session settings without having<br>to break down and restart all the apps - is there another way to do this as<br>it looked a bit like the session files were only read by the client at init time.<br><br>I am a bit confused about the following from the seq24 diffs:<br><font style="" face="Arial"></font><br>+    Glib::ustring cmd( "seq24 --file \"${SESSION_DIR}file.mid\" --jack_session_uuid " );<br>...<br>+    m_jsession_ev->command_line = strdup( cmd.c_str() );<br><br>This is the command string used to start the app the next time around. What about<br>other options that might have been given the first time around? If an app does not have<br>them saved with the user settings then are pure runtime options lost? Is it the applications<br>responsibility to ensure that the 'file' above contains all the parameters needed to start<br>the app in the same way? Just curious, it puts a bit more onus onto the app developer<br>rather than the session manager.<br><br>What does the UUID consist of?<br><br>Regards, nick.<br><br>"we have to make sure the old choice [Windows] doesn't disappear”.<br>Jim Wong, president of IT products, Acer<br><br><br><br><br>> Date: Mon, 29 Mar 2010 21:06:16 +0200<br>> From: torbenh@gmx.de<br>> To: linux-audio-dev@lists.linuxaudio.org<br>> Subject: Re: [LAD] jack-session finally merged.<br>> <br>> On Mon, Mar 29, 2010 at 05:07:03PM +0100, Rui Nuno Capela wrote:<br>> > On Mon, 29 Mar 2010 17:00:01 +0200, torbenh <torbenh@gmx.de> wrote:<br>> > > <br>> > > regarding app support:<br>> > > <br>> > > already patched apps:<br>> > > - jack-rack<br>> > > - ghostess<br>> > > - specimen<br>> > > - guitarix<br>> > > <br>> > > in queue:<br>> > > - ardour<br>> > > - fst<br>> > > - seq24<br>> > > <br>> > > <br>> > > i expect most jack apps for which session support makes sense to support<br>> > > the API sooner or later.<br>> > > <br>> > <br>> > fwiw, qtractor svn trunk already has full jack-session support<br>> > (qtractor-0.4.5.1542+)<br>> > <br>> > highly experimental and untested though--any brave souls out there ?:)<br>> > <br>> > nb. all lazy/artificial restrictions that plagued qtractor before have<br>> > been dropped<br>> <br>> cool. thanks. <br>> <br>> jack_set_session_callback is a weak symbol. please test if its not zero<br>> before using it.<br>> <br>> if(jack_set_session_callback)<br>>    jack_set_session_callback( x, y, z )<br>> <br>> theoretically you would need to test the other symbols too,<br>> but they exist if jack_set_session_callback exists, and the codepath<br>> is triggered by the callback, so that should be ok.<br>> <br>> also please use ${SESSION_DIR} in the commandline string returned.<br>> this allows the SM to move session dirs around.<br>> it includes the directory separator.<br>> <br>> <br>> <br>> -- <br>> torben Hohn<br>> _______________________________________________<br>> Linux-audio-dev mailing list<br>> Linux-audio-dev@lists.linuxaudio.org<br>> http://lists.linuxaudio.org/listinfo/linux-audio-dev<br>                                          <br /><hr />Hotmail: Trusted email with Microsoft’s powerful SPAM protection. <a href='https://signup.live.com/signup.aspx?id=60969' target='_new'>Sign up now.</a></body>
</html>