--name no worky; -n worky

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

--name no worky; -n worky

Florian Paul Schmidt-2

Hi,

it seems in my debian version of jackd the --name switch doesn't get
parsed right, but the -n switch works:

~$ jackd -n foo -d alsa -d hw:0 -p 512 -n 3

works fine,

~$ jackd --name foo -d alsa -d hw:0 -p 512 -n 3
unknown option character
jackd 0.100.0
Copyright 2001-2005 Paul Davis and others.
jackd comes with ABSOLUTELY NO WARRANTY
This is free software, and you are welcome to redistribute it
under certain conditions; see the file COPYING for details


usage: jackd [ --realtime OR -R [ --realtime-priority OR -P priority ] ]
             [ --name OR -n server-name ]
             [ --no-mlock OR -m ]
             [ --unlock OR -u ]
             [ --timeout OR -t client-timeout-in-msecs ]
             [ --port-max OR -p maximum-number-of-ports]
             [ --verbose OR -v ]
             [ --silent OR -s ]
             [ --version OR -V ]
         -d driver [ ... driver args ... ]
             where driver can be `alsa', `coreaudio', `dummy',
                                 `oss' or `portaudio'

       jackd -d driver --help
             to display options for each driver


does not ;)

Regards,
Flo

--
Palimm Palimm!
http://tapas.affenbande.org


-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
_______________________________________________
Jackit-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/jackit-devel
Reply | Threaded
Open this post in threaded view
|

Re: --name no worky; -n worky

Jack O'Quin-2
Florian Schmidt <[hidden email]> writes:

> it seems in my debian version of jackd the --name switch doesn't get
> parsed right, but the -n switch works:
>
> ~$ jackd -n foo -d alsa -d hw:0 -p 512 -n 3
>
> works fine,
>
> ~$ jackd --name foo -d alsa -d hw:0 -p 512 -n 3
>
> does not ;)

Hmm.  You're right!

Here's a patch that should fix it...

Index: jackd/jackd.c
===================================================================
RCS file: /cvsroot/jackit/jack/jackd/jackd.c,v
retrieving revision 1.53
diff -u -r1.53 jackd.c
--- jackd/jackd.c 15 Jun 2005 09:18:40 -0000 1.53
+++ jackd/jackd.c 16 Aug 2005 00:46:04 -0000
@@ -471,7 +471,7 @@
  { "help", 0, 0, 'h' },
  { "port-max", 1, 0, 'p' },
  { "no-mlock", 0, 0, 'm' },
- { "name", 0, 0, 'n' },
+ { "name", 1, 0, 'n' },
  { "unlock", 0, 0, 'u' },
  { "realtime", 0, 0, 'R' },
  { "realtime-priority", 1, 0, 'P' },

--
  joq


-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
_______________________________________________
Jackit-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/jackit-devel