[specimen] patch: clientname
Eric Dantan Rzewnicki
eric at zhevny.com
Thu Jan 4 00:26:19 CST 2007
On Wed, Jan 03, 2007 at 05:12:37PM +0100, Lars Luthman wrote:
> On Wed, 2007-01-03 at 17:01 +0100, Atte Andr? Jensen wrote:
> > Hi
> > I attached a patch yesterday that adds command line clientname to
> > specimen. However it was rejected dut to it's size, and I've since made
> > a few improvements. So now I placed it here:
> > http://atte.dk/specimen-0.5.1_volume_clientname.patch
> > It seems alot of unnesecary stuff is included in the patch, even though
> > I did run "make clean" before generating the patch...
> > Basically it allows option "--clientname something" which will append
> > "_something" to both jack and alsa client names, thus allowing more
> > instances of specimen to be run and route their outputs to various
> > locations.
> If you just want to be able to run multiple instances and don't really
> care about setting names you can use jack_client_open() instead of
> jack_client_new(). It will append "-1", "-2", "-3" etc to the client
> name if the original name is taken. It will also start jackd
> automatically by default even if the environment variable
> JACK_START_SERVER is not set.
What Lars suggests here has been suggested before. I think
jack_client_open() is the way we'll go, at least for now, to support
multiple instances. That said, I'll take a look at Atte's patch, too, as
people might want to be able to set the client name for other reasons.
-Eric Rz.
--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
More information about the Specimen
mailing list