Re: [LAD] adding session notifications to jack

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: torbenh <torbenh@...>
Cc: <linux-audio-dev@...>
Date: Sunday, November 22, 2009 - 3:25 am

On Sun, 2009-11-22 at 01:46 +0100, torbenh wrote:

I assumed it was a possible value of jack_session_event_t, but I see
it's not. n/m

> i also think that the restore event only makes things more complex.

It allows loading a different session without shutting down the app
entirely, but I guess that's no big loss. Apps shouldn't take forever
to start up anyway :) (plus it's much more bug prone)

> > On second thought, I see the utility of command line stuff, though maybe

Not sure what you're getting at here. Of course apps have to save their
state, that's the whole point?

> snprintfing some commandline string shouldnt be a problem at all.

I don't think this makes it more complicated, but it does make it
portable, standard C, and makes sense for libraries/plugins; but I don't
really care enough to argue about it. If jack_initialize and friends
took an argv that would be a strong argument for it, but they just take
an arbitrary string, so I guess that's an argument to use a string. For
internal clients the returned string would not be a command line but the
argument to jack_initialize

-dr

_______________________________________________
Linux-audio-dev mailing list
Linux-audio-dev@lists.linuxaudio.org
http://lists.linuxaudio.org/mailman/listinfo/linux-audio-dev

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[LAD] adding session notifications to jack, torbenh, (Sat Nov 21, 5:49 pm)
Re: [LAD] adding session notifications to jack, David Robillard, (Sat Nov 21, 9:37 pm)
Re: [LAD] adding session notifications to jack, torbenh, (Sat Nov 21, 10:36 pm)
Re: [LAD] adding session notifications to jack, David Robillard, (Sat Nov 21, 11:05 pm)
Re: [LAD] adding session notifications to jack, torbenh, (Sat Nov 21, 11:39 pm)
Re: [LAD] adding session notifications to jack, David Robillard, (Sun Nov 22, 12:03 am)
Re: [LAD] adding session notifications to jack, David Robillard, (Sun Nov 22, 12:30 am)
Re: [LAD] adding session notifications to jack, torbenh, (Sun Nov 22, 12:46 am)
Re: [LAD] adding session notifications to jack, David Robillard, (Sun Nov 22, 3:25 am)
Re: [LAD] adding session notifications to jack, torbenh, (Sun Nov 22, 6:42 am)
Re: [LAD] adding session notifications to jack, Patrick Shirkey, (Sat Nov 21, 6:22 pm)
Re: [LAD] adding session notifications to jack, torbenh, (Sat Nov 21, 6:32 pm)