From owner-freebsd-multimedia@FreeBSD.ORG Wed Aug 8 18:17:43 2012 Return-Path: Delivered-To: multimedia@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 554C91065688 for ; Wed, 8 Aug 2012 18:17:43 +0000 (UTC) (envelope-from marcelbonnet@gmail.com) Received: from mail-yx0-f182.google.com (mail-yx0-f182.google.com [209.85.213.182]) by mx1.freebsd.org (Postfix) with ESMTP id 121D68FC12 for ; Wed, 8 Aug 2012 18:17:42 +0000 (UTC) Received: by yenl7 with SMTP id l7so1331934yen.13 for ; Wed, 08 Aug 2012 11:17:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=+IHqF/R1pi2hhalK3Lf4pby5mQ33gId/CR+FASesi2M=; b=UcBYn5bt0ESIl+prOfPAjv80HWrrC1hSmxilAUFxSaP8sG0Lt3vG526KqLI4ijxqJz j/zRb4872p8mdGe7kbN3vYcYTgoxuMto91sJaq0BEWitT/MfXLAjcFrk3fdbokU7XAXr naGGdPSoa0R5NOUUH0XoIMm+WYKc2xhvyvb5+I+rikNzpqVdOLJsSYJ0LDYIvQxFtcnN 9FZY2jNUWDVikNNm6ghxg4J4dOoGYuDEOben/Grm5sMUmRBUuaRFGEl/VAXCpdBMLnM9 47F+ah//yFac6ekwjsWnbIPj8vrjWi81/SN129LfGb0FKbhUSKgTcooXezrDP3DIWHDg f2gA== MIME-Version: 1.0 Received: by 10.60.20.197 with SMTP id p5mr31379859oee.32.1344449862125; Wed, 08 Aug 2012 11:17:42 -0700 (PDT) Received: by 10.182.221.5 with HTTP; Wed, 8 Aug 2012 11:17:42 -0700 (PDT) Date: Wed, 8 Aug 2012 15:17:42 -0300 Message-ID: From: Marcel Bonnet To: multimedia@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 Cc: Subject: jack-session: a command tool I made to save/restore jack connections X-BeenThere: freebsd-multimedia@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Multimedia discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 08 Aug 2012 18:17:43 -0000 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 Connect to the jack server named -s, --save Save connections to the session -r, --restore Restore connections from a session -h, --help Display this help message -v --version Output version information and exit -- Marcel Bonnet