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
Linux-audio-dev mailing list