jack-session: a command tool I made to save/restore jack connections

Hans Petter Selasky hselasky at c2i.net
Thu Aug 9 19:09:19 UTC 2012


On Wednesday 08 August 2012 20:17:42 Marcel Bonnet wrote:
> Hi,
> 
> I do not have much knowledge about developing audio apps/tools and C
> programming, that's why I would appreciate your considerations :
> 
> I did not found on ports a command line tool that just handle
> save/restore jack connections. Does we have some?
> 
> I know about LASH, but it's beyond my scope. I don't need to handle
> applications state, just the connections.
> 
> I found a python script on the web (jackctl), but that script does not
> satisfy my needs - it requires too much user interactivity.
> 
> So I worked on over the lsp.c (jack_lsp) and got a simple tool to do
> what I need.
> 
> And last, but not least, do you guys think, if I polish the code (it's
> ugly now), this small and simple tool could be made in my small
> contribution to the ports collections? I'm not sure if a tool like
> this exists but I did not found or if it would be simple enough to go
> into ports - anyway, I'd love to do it because of the open source
> spirit and would be happy to give something simple I made back to the
> community.
> 
> If you think it's ok, please let me know so I'll polish the code and
> test it better.
> 
> Here is an example:
> 
> $ jack-session
> Usage: jack-session [options]
> Save and restore connections of a jack session.
> Display options:
>    -j, --jackserver <name>	Connect to the jack server named <name>
>    -s, --save <file>		Save connections to the session <file>
>    -r, --restore <file>		Restore connections from a session <file>
>    -h, --help			Display this help message
>    -v  --version		Output version information and exit


Hi,

I think this is a good idea! Will this program run in the background and 
detect when applications become present?

--HPS


More information about the freebsd-multimedia mailing list