Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 8 Aug 2012 15:17:42 -0300
From:      Marcel Bonnet <marcelbonnet@gmail.com>
To:        multimedia@freebsd.org
Subject:   jack-session: a command tool I made to save/restore jack connections
Message-ID:  <CAPe0dBnTNKSpz1frgNQyFc6Cow0jb2OkFjbbyUJ0NVuNihuXTA@mail.gmail.com>

next in thread | raw e-mail | index | archive | help
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



-- 
Marcel Bonnet



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAPe0dBnTNKSpz1frgNQyFc6Cow0jb2OkFjbbyUJ0NVuNihuXTA>