Browse Source

man page and help update

git-svn-id: svn+ssh://jackaudio.org/trunk/jack@735 0c269be4-1314-0410-8aa9-9f06e86f4224
tags/0.109.0
joq 21 years ago
parent
commit
bcaa13e4f5
3 changed files with 19 additions and 11 deletions
  1. +2
    -2
      drivers/alsa/alsa_driver.c
  2. +16
    -4
      jackd/jackd.1.in
  3. +1
    -5
      libjack/client.c

+ 2
- 2
drivers/alsa/alsa_driver.c View File

@@ -2196,7 +2196,7 @@ driver_get_descriptor ()
params[i].type = JackDriverParamString; params[i].type = JackDriverParamString;
strcpy (params[i].value.str, "none"); strcpy (params[i].value.str, "none");
strcpy (params[i].short_desc, strcpy (params[i].short_desc,
"Provide only capture ports. Optionally set device");
"Provide capture ports. Optionally set device");
strcpy (params[i].long_desc, params[i].short_desc); strcpy (params[i].long_desc, params[i].short_desc);


i++; i++;
@@ -2205,7 +2205,7 @@ driver_get_descriptor ()
params[i].type = JackDriverParamString; params[i].type = JackDriverParamString;
strcpy (params[i].value.str, "none"); strcpy (params[i].value.str, "none");
strcpy (params[i].short_desc, strcpy (params[i].short_desc,
"Provide only playback ports. Optionally set device");
"Provide playback ports. Optionally set device");
strcpy (params[i].long_desc, params[i].short_desc); strcpy (params[i].long_desc, params[i].short_desc);


i++; i++;


+ 16
- 4
jackd/jackd.1.in View File

@@ -1,4 +1,4 @@
.TH JACKD "1" @VERSION@ "April 2004"
.TH JACKD "1" @VERSION@ "July 2004"
.SH NAME .SH NAME
jackd, jackstart \- JACK Audio Connection Kit sound server jackd, jackstart \- JACK Audio Connection Kit sound server
.SH SYNOPSYS .SH SYNOPSYS
@@ -84,7 +84,8 @@ Print the current JACK version number and exit.
.SS ALSA DRIVER OPTIONS .SS ALSA DRIVER OPTIONS
.TP .TP
\fB\-C, \-\-capture\fR [ \fIname\fR ] \fB\-C, \-\-capture\fR [ \fIname\fR ]
Provide only capture ports. Optionally set device name.
Provide only capture ports, unless combined with \-D or \-P. Optionally set
capture device name.
.TP .TP
\fB\-d, \-\-device \fIname\fR \fB\-d, \-\-device \fIname\fR
.br .br
@@ -96,7 +97,8 @@ Set dithering mode. If \fBnone\fR or unspecified, dithering is off.
Only the first letter of the mode name is required. Only the first letter of the mode name is required.
.TP .TP
\fB\-D, \-\-duplex\fR \fB\-D, \-\-duplex\fR
Provide both capture and playback ports (the default).
Provide both capture and playback ports. Defaults to on unless only one
of \-P or \-C is specified.
.TP .TP
\fB\-h, \-\-help\fR Print a brief usage message describing only the \fB\-h, \-\-help\fR Print a brief usage message describing only the
\fBalsa\fR driver options. \fBalsa\fR driver options.
@@ -143,7 +145,8 @@ the JACK buffer size in bytes. The JACK output latency in seconds is
Number of playback channels. Default is maximum supported by hardware. Number of playback channels. Default is maximum supported by hardware.
.TP .TP
\fB\-P, \-\-playback\fR [ \fIname\fR ] \fB\-P, \-\-playback\fR [ \fIname\fR ]
Provide only playback ports. Optionally set device name.
Provide only playback ports, unless combined with \-D or \-C. Optionally set
playback device name.
.TP .TP
\fB\-p, \-\-period \fIint\fR \fB\-p, \-\-period \fIint\fR
.br .br
@@ -207,6 +210,15 @@ by the ALSA driver will be ignored. The larger buffer helps reduce
data loss. Rectangular dithering will be used for playback. data loss. Rectangular dithering will be used for playback.
.IP .IP
\fBjackd \-d alsa \-d hw:1 \-p2048 \-n3 \-\-softmode \-zr\fR \fBjackd \-d alsa \-d hw:1 \-p2048 \-n3 \-\-softmode \-zr\fR
.PP
Run \fBjackd\fR in full-duplex mode using the ALSA hw:0,0 device for
playback and the hw:0,2 device for capture.
.IP
\fBjackd \-d alsa \-P hw:0,0 \-C hw:0,2\fR
.PP
Run \fBjackd\fR in playback-only mode using the ALSA hw:0,0 device.
.IP
\fBjackd \-d alsa \-P hw:0,0\fR
.SH ENVIRONMENT .SH ENVIRONMENT
.br .br
JACK is evolving a mechanism for automatically starting the server JACK is evolving a mechanism for automatically starting the server


+ 1
- 5
libjack/client.c View File

@@ -969,11 +969,7 @@ jack_client_thread (void *arg)
if (pthread_getschedparam(pthread_self(), &policy, &self_param) if (pthread_getschedparam(pthread_self(), &policy, &self_param)
== 0) { == 0) {
if (policy != SCHED_FIFO) { if (policy != SCHED_FIFO) {
/*
jack_error ("Client thread was not created with SCHED_FIFO "
"scheduling, exiting thread\n");
*/
pthread_exit(1);
pthread_exit (0);
} }
} }
} }


Loading…
Cancel
Save