jack2 codebase
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

628 lines
22KB

  1. .TH "JACKD" "1" "!DATE!" "!VERSION!" ""
  2. .SH "NAME"
  3. jackd \- JACK Audio Connection Kit sound server
  4. .SH "SYNOPSIS"
  5. \fBjackd\fR [\fIoptions\fR] \fB\-d\fI backend \fR
  6. [\fIbackend\-parameters\fR]
  7. .br
  8. \fBjackd \-\-help\fR
  9. .SH "DESCRIPTION"
  10. \fBjackd\fR is the JACK audio server daemon, a low\-latency audio
  11. server. Originally written for the
  12. GNU/Linux operating system, it also supports Mac OS X and various Unix
  13. platforms. JACK can connect a number of different client applications
  14. to an audio device and also to each other. Most clients are external,
  15. running in their own processes as normal applications. JACK also
  16. supports internal clients, which run within the \fBjackd\fR process
  17. using a loadable "plugin" interface.
  18. JACK differs from other audio servers in being designed from the
  19. ground up for professional audio work. It focuses on two key areas:
  20. synchronous execution of all clients, and low latency operation.
  21. For the latest JACK information, please consult the web site,
  22. <\fBhttp://www.jackaudio.org\fR>.
  23. .SH "OPTIONS"
  24. .TP
  25. \fB\-d, \-\-driver \fIbackend\fR [\fIbackend\-parameters\fR ]
  26. .br
  27. Select the audio interface backend. The current list of supported
  28. backends is: \fBalsa\fR, \fBcoreaudio\fR, \fBdummy\fR, \fBfreebob\fR,
  29. \fBoss\fR \fBsun\fR and \fBportaudio\fR. They are not all available
  30. on all platforms. All \fIbackend\-parameters\fR are optional.
  31. .TP
  32. \fB\-h, \-\-help\fR
  33. .br
  34. Print a brief usage message describing the main \fBjackd\fR options.
  35. These do not include \fIbackend\-parameters\fR, which are listed using
  36. the \fB\-\-help\fR option for each specific backend. Examples below
  37. show how to list them.
  38. .TP
  39. \fB\-m, \-\-no\-mlock\fR
  40. Do not attempt to lock memory, even if \fB\-\-realtime\fR.
  41. .TP
  42. \fB\-n, \-\-name\fR \fIserver\-name\fR
  43. Name this \fBjackd\fR instance \fIserver\-name\fR. If unspecified,
  44. this name comes from the \fB$JACK_DEFAULT_SERVER\fR environment
  45. variable. It will be "default" if that is not defined.
  46. .TP
  47. \fB\-p, \-\-port\-max \fI n\fR
  48. Set the maximum number of ports the JACK server can manage.
  49. The default value is 256.
  50. .TP
  51. \fB\-\-replace-registry\fR
  52. .br
  53. Remove the shared memory registry used by all JACK server instances
  54. before startup. This should rarely be used, and is intended only
  55. for occasions when the structure of this registry changes in ways
  56. that are incompatible across JACK versions (which is rare).
  57. .TP
  58. \fB\-R, \-\-realtime\fR
  59. .br
  60. Use realtime scheduling (default = true). This is needed for reliable low\-latency
  61. performance. On many systems, it requires \fBjackd\fR to run with
  62. special scheduler and memory allocation privileges, which may be
  63. obtained in several ways.
  64. .TP
  65. \fB\-r, \-\-no-realtime\fR
  66. .br
  67. Do not use realtime scheduling.
  68. .TP
  69. \fB\-P, \-\-realtime\-priority \fIint\fR
  70. When running \fB\-\-realtime\fR, set the scheduler priority to
  71. \fIint\fR.
  72. .TP
  73. \fB\-\-silent\fR
  74. Silence any output during operation.
  75. .TP
  76. \fB\-T, \-\-temporary\fR
  77. Exit once all clients have closed their connections.
  78. .TP
  79. \fB\-t, \-\-timeout \fIint\fR
  80. .br
  81. Set client timeout limit in milliseconds. The default is 500 msec.
  82. In realtime mode the client timeout must be smaller than the watchdog timeout (5000 msec).
  83. .TP
  84. \fB\-Z, \-\-nozombies\fR
  85. .br
  86. Prevent JACK from ever kicking out clients because they were too slow.
  87. This cancels the effect any specified timeout value, but JACK and its clients are
  88. still subject to the supervision of the watchdog thread or its equivalent.
  89. .TP
  90. \fB\-C, \-\-internal-session-file \fIinternal-session-file\fR
  91. .br
  92. Load internal clients and connections from \fIinternal-session-file\fR.
  93. Each line of this configuration file starts with a command.
  94. The following commands are available:
  95. .br
  96. \fBl(oad)\fR \fIclient-name lib-name client-args\fR
  97. .br
  98. With this command an internal JACK client will be instantiated.
  99. \fIclient-name\fR and \fIlib-name\fR cannot contain spaces.
  100. The rest of the line will be interpreted as \fIclient-args\fR and
  101. sent to the client library.
  102. .br
  103. \fBc(on)\fR \fIsource-port destination-port\fR
  104. .br
  105. With this command a source port will be connected to a destination port.
  106. \fIsource-port\fR and \fIdestination-port\fR cannot contain spaces.
  107. .br
  108. Comments are allowed, they start with \fB#\fR.
  109. .br
  110. An example configuration could look like the following:
  111. .br
  112. l inprocess1 inprocess
  113. l amp1 jalv http://lv2plug.in/plugins/eg-amp
  114. .br
  115. c amp:out system:playback_1
  116. .TP
  117. \fB\-u, \-\-unlock\fR
  118. .br
  119. Unlock libraries GTK+, QT, FLTK, Wine.
  120. .TP
  121. \fB\-v, \-\-verbose\fR
  122. Give verbose output.
  123. .TP
  124. \fB\-c, \-\-clocksource\fR (\fI h(pet) \fR | \fI s(ystem) \fR)
  125. Select a specific wall clock (HPET timer, System timer).
  126. .TP
  127. \fB\-V, \-\-version\fR
  128. Print the current JACK version number and exit.
  129. .SS ALSA BACKEND OPTIONS
  130. .TP
  131. \fB\-C, \-\-capture\fR [ \fIname\fR ]
  132. Provide only capture ports, unless combined with \-D or \-P. Parameterally set
  133. capture device name.
  134. .TP
  135. \fB\-d, \-\-device \fIname\fR
  136. .br
  137. The ALSA pcm device \fIname\fR to use. If none is specified, JACK will
  138. use "hw:0", the first hardware card defined in \fB/etc/modules.conf\fR.
  139. .TP
  140. \fB\-z, \-\-dither [rectangular,triangular,shaped,none]
  141. Set dithering mode. If \fBnone\fR or unspecified, dithering is off.
  142. Only the first letter of the mode name is required.
  143. .TP
  144. \fB\-D, \-\-duplex\fR
  145. Provide both capture and playback ports. Defaults to on unless only one
  146. of \-P or \-C is specified.
  147. .TP
  148. \fB\-h, \-\-help\fR Print a brief usage message describing only the
  149. \fBalsa\fR backend parameters.
  150. .TP
  151. \fB\-M, \-\-hwmeter\fR
  152. .br
  153. Enable hardware metering for devices that support it. Otherwise, use
  154. software metering.
  155. .TP
  156. \fB\-H, \-\-hwmon\fR
  157. .br
  158. Enable hardware monitoring of capture ports. This is a method for
  159. obtaining "zero latency" monitoring of audio input. It requires
  160. support in hardware and from the underlying ALSA device driver.
  161. When enabled, requests to monitor capture ports will be satisfied by
  162. creating a direct signal path between audio interface input and output
  163. connectors, with no processing by the host computer at all. This
  164. offers the lowest possible latency for the monitored signal.
  165. Presently (March 2003), only the RME Hammerfall series and cards based
  166. on the ICE1712 chipset (M\-Audio Delta series, Terratec, and others)
  167. support \fB\-\-hwmon\fR. In the future, some consumer cards may also
  168. be supported by modifying their mixer settings.
  169. Without \fB\-\-hwmon\fR, port monitoring requires JACK to read audio
  170. into system memory, then copy it back out to the hardware again,
  171. imposing the basic JACK system latency determined by the
  172. \fB\-\-period\fR and \fB\-\-nperiods\fR parameters.
  173. .TP
  174. \fB\-i, \-\-inchannels \fIint\fR
  175. .br
  176. Number of capture channels. Default is maximum supported by hardware.
  177. .TP
  178. \fB\-I \-\-input\-latency\fR
  179. Extra input latency (frames) (default: 0)
  180. .TP
  181. \fB\-n, \-\-nperiods \fIint\fR
  182. .br
  183. Specify the number of periods of playback latency. In seconds, this
  184. corresponds to \fB\-\-nperiods\fR times \fB\-\-period\fR divided by
  185. \fB\-\-rate\fR. The default is 2, the minimum allowable. For most
  186. devices, there is no need for any other value with the
  187. \fB\-\-realtime\fR option. Without realtime privileges or with boards
  188. providing unreliable interrupts (like ymfpci), a larger value may
  189. yield fewer xruns. This can also help if the system is not tuned for
  190. reliable realtime scheduling.
  191. For most ALSA devices, the hardware buffer has exactly
  192. \fB\-\-period\fR times \fB\-\-nperiods\fR frames. Some devices demand
  193. a larger buffer. If so, JACK will use the smallest possible buffer
  194. containing at least \fB\-\-nperiods\fR, but the playback latency does
  195. not increase.
  196. For USB audio devices it is recommended to use \fB\-n 3\fR. Firewire
  197. devices supported by FFADO (formerly Freebob) are configured with
  198. \fB\-n 3\fR by default.
  199. .TP
  200. \fB\-o, \-\-outchannels \fIint\fR
  201. .br
  202. Number of playback channels. Default is maximum supported by hardware.
  203. .TP
  204. \fB\-O \-\-output\-latency\fR
  205. Extra output latency (frames) (default: 0)
  206. .TP
  207. \fB\-P, \-\-playback\fR [ \fIname\fR ]
  208. Provide only playback ports, unless combined with \-D or \-C. Optionally set
  209. playback device name.
  210. .TP
  211. \fB\-p, \-\-period \fIint\fR
  212. .br
  213. Specify the number of frames between JACK \fBprocess()\fR calls. This
  214. value must be a power of 2, and the default is 1024. If you need low
  215. latency, set \fB\-p\fR as low as you can go without seeing xruns. A larger
  216. period size yields higher latency, but makes xruns less likely. The JACK
  217. capture latency in seconds is \fB\-\-period\fR divided by \fB\-\-rate\fR.
  218. .TP
  219. \fB\-r, \-\-rate \fIint\fR
  220. Specify the sample rate. The default is 48000.
  221. .TP
  222. \fB\-S, \-\-shorts
  223. .br
  224. Try to configure card for 16\-bit samples first, only trying 32\-bits if
  225. unsuccessful. Default is to prefer 32\-bit samples.
  226. .TP
  227. \fB\-s, \-\-softmode\fR
  228. .br
  229. Ignore xruns reported by the ALSA driver. This makes JACK less likely
  230. to disconnect unresponsive ports when running without \fB\-\-realtime\fR.
  231. .TP
  232. \fB\-X, \-\-midi \fR[\fIseq\fR|\fIraw\fR]
  233. .br
  234. Specify which ALSA MIDI system to provide access to. Using \fBraw\fR
  235. will provide a set of JACK MIDI ports that correspond to each raw ALSA
  236. device on the machine. Using \fBseq\fR will provide a set of JACK MIDI
  237. ports that correspond to each ALSA "sequencer" client (which includes
  238. each hardware MIDI port on the machine). \fBraw\fR provides slightly
  239. better performance but does not permit JACK MIDI communication with
  240. software written to use the ALSA "sequencer" API.
  241. .SS COREAUDIO BACKEND PARAMETERS
  242. .TP
  243. \fB\-c \-\-channels\fR
  244. Maximum number of channels (default: 2)
  245. .TP
  246. \fB\-i \-\-inchannels\fR
  247. Maximum number of input channels (default: 2)
  248. .TP
  249. \fB\-o \-\-outchannels\fR
  250. Maximum number of output channels (default: 2)
  251. .TP
  252. \fB\-C \-\-capture\fR
  253. Whether or not to capture (default: true)
  254. .TP
  255. \fB\-P \-\-playback\fR
  256. Whether or not to playback (default: true)
  257. .TP
  258. \fB\-D \-\-monitor\fR
  259. Provide monitor ports for the output (default: false)
  260. .TP
  261. \fB\-D \-\-duplex\fR
  262. Capture and playback (default: true)
  263. .TP
  264. \fB\-r \-\-rate\fR
  265. Sample rate (default: 44100)
  266. .TP
  267. \fB\-p \-\-period\fR
  268. Frames per period (default: 128). Must be a power of 2.
  269. .TP
  270. \fB\-d \-\-device\fR
  271. CoreAudio device name (default: none)
  272. .TP
  273. \fB\-I \-\-input\-latency\fR
  274. Extra input latency (frames) (default: 0)
  275. .TP
  276. \fB\-O \-\-output\-latency\fR
  277. Extra output latency (frames) (default: 0)
  278. .TP
  279. \fB\-l \-\-list\-devices \fR
  280. Display available CoreAudio devices (default: false)
  281. .TP
  282. \fB\-H \-\-hog \fR
  283. Take exclusive access of the audio device (default: false)
  284. .TP
  285. \fB\-L \-\-async\-latency \fR
  286. Extra output latency in asynchronous mode (percent) (default: 100)
  287. .TP
  288. \fB\-G \-\-grain \fR
  289. Computation grain in RT thread (percent) (default: 100)
  290. .TP
  291. \fB\-s \-\-clock\-drift \fR
  292. Whether to compensate clock drift in dynamically created aggregate device (default: false)
  293. .SS DUMMY BACKEND PARAMETERS
  294. .TP
  295. \fB\-C, \-\-capture \fIint\fR
  296. Specify number of capture ports. The default value is 2.
  297. .TP
  298. \fB\-P, \-\-playback \fIint\fR
  299. Specify number of playback ports. The default value is 2.
  300. .TP
  301. \fB\-r, \-\-rate \fIint\fR
  302. Specify sample rate. The default value is 48000.
  303. .TP
  304. \fB\-p, \-\-period \fIint\fR
  305. Specify the number of frames between JACK \fBprocess()\fR calls. This
  306. value must be a power of 2, and the default is 1024. If you need low
  307. latency, set \fB\-p\fR as low as you can go without seeing xruns. A larger
  308. period size yields higher latency, but makes xruns less likely. The JACK
  309. capture latency in seconds is \fB\-\-period\fR divided by \fB\-\-rate\fR.
  310. .TP
  311. \fB\-w, \-\-wait \fIint\fR
  312. Specify number of usecs to wait between engine processes.
  313. The default value is 21333.
  314. .SS NETONE BACKEND PARAMETERS
  315. .TP
  316. \fB\-i, \-\-audio\-ins \fIint\fR
  317. Number of capture channels (default: 2)
  318. .TP
  319. \fB\-o, \-\-audio\-outs \fIint\fR
  320. Number of playback channels (default: 2)
  321. .TP
  322. \fB\-I, \-\-midi\-ins \fIint\fR
  323. Number of midi capture channels (default: 1)
  324. .TP
  325. \fB\-O, \-\-midi\-outs \fIint\fR
  326. Number of midi playback channels (default: 1)
  327. .TP
  328. \fB\-r, \-\-rate \fIint\fR
  329. Sample rate (default: 48000)
  330. .TP
  331. \fB\-p, \-\-period \fIint\fR
  332. Frames per period (default: 1024)
  333. .TP
  334. \fB\-n, \-\-num\-periods \fIint\fR
  335. Network latency setting in no. of periods (default: 5)
  336. .TP
  337. \fB\-l, \-\-listen\-port \fIint\fR
  338. The socket port we are listening on for sync packets (default: 3000)
  339. .TP
  340. \fB\-f, \-\-factor \fIint\fR
  341. Factor for sample rate reduction (default: 1)
  342. .TP
  343. \fB\-u, \-\-upstream\-factor \fIint\fR
  344. Factor for sample rate reduction on the upstream (default: 0)
  345. .TP
  346. \fB\-c, \-\-celt \fIint\fR
  347. sets celt encoding and number of kbits per channel (default: 0)
  348. .TP
  349. \fB\-b, \-\-bit\-depth \fIint\fR
  350. Sample bit\-depth (0 for float, 8 for 8bit and 16 for 16bit) (default: 0)
  351. .TP
  352. \fB\-t, \-\-transport\-sync \fIint\fR
  353. Whether to slave the transport to the master transport (default: true)
  354. .TP
  355. \fB\-a, \-\-autoconf \fIint\fR
  356. Whether to use Autoconfig, or just start. (default: true)
  357. .TP
  358. \fB\-R, \-\-redundancy \fIint\fR
  359. Send packets N times (default: 1)
  360. .TP
  361. \fB\-e, \-\-native\-endian \fIint\fR
  362. Dont convert samples to network byte order. (default: false)
  363. .TP
  364. \fB\-J, \-\-jitterval \fIint\fR
  365. attempted jitterbuffer microseconds on master (default: 0)
  366. .TP
  367. \fB\-D, \-\-always\-deadline \fIint\fR
  368. always use deadline (default: false)
  369. .SS OSS BACKEND PARAMETERS
  370. .TP
  371. \fB\-r, \-\-rate \fIint\fR
  372. Specify the sample rate. The default is 48000.
  373. .TP
  374. \fB\-p, \-\-period \fIint\fR
  375. Specify the number of frames between JACK \fBprocess()\fR calls. This
  376. value must be a power of 2, and the default is 1024. If you need low
  377. latency, set \fB\-p\fR as low as you can go without seeing xruns. A larger
  378. period size yields higher latency, but makes xruns less likely. The JACK
  379. capture latency in seconds is \fB\-\-period\fR divided by \fB\-\-rate\fR.
  380. .TP
  381. \fB\-n, \-\-nperiods \fIint\fR
  382. Specify the number of periods in the hardware buffer. The default is
  383. 2. The period size (\fB\-p\fR) times \fB\-\-nperiods\fR times four is
  384. the JACK buffer size in bytes. The JACK output latency in seconds is
  385. \fB\-\-nperiods\fR times \fB\-\-period\fR divided by \fB\-\-rate\fR.
  386. .TP
  387. \fB\-w, \-\-wordlength \fIint\fR
  388. Specify the sample size in bits. The default is 16.
  389. .TP
  390. \fB\-i, \-\-inchannels \fIint\fR
  391. Specify how many channels to capture (default: 2)
  392. .TP
  393. \fB\-o, \-\-outchannels \fIint\fR
  394. Specify number of playback channels (default: 2)
  395. .TP
  396. \fB\-C, \-\-capture \fIdevice_file\fR
  397. Specify input device for capture (default: /dev/dsp)
  398. .TP
  399. \fB\-P, \-\-playback \fIdevice_file\fR
  400. Specify output device for playback (default: /dev/dsp)
  401. .TP
  402. \fB\-b, \-\-ignorehwbuf \fIboolean\fR
  403. Specify, whether to ignore hardware period size (default: false)
  404. .TP
  405. \fB\-I \-\-input\-latency\fR
  406. Extra input latency (frames) (default: 0)
  407. .TP
  408. \fB\-O \-\-output\-latency\fR
  409. Extra output latency (frames) (default: 0)
  410. .SS SUN BACKEND PARAMETERS
  411. .TP
  412. \fB\-r, \-\-rate \fIint\fR
  413. Specify the sample rate. The default is 48000.
  414. .TP
  415. \fB\-p, \-\-period \fIint\fR
  416. Specify the number of frames between JACK \fBprocess()\fR calls. This
  417. value must be a power of 2, and the default is 1024. If you need low
  418. latency, set \fB\-p\fR as low as you can go without seeing xruns. A larger
  419. period size yields higher latency, but makes xruns less likely. The JACK
  420. capture latency in seconds is \fB\-\-period\fR divided by \fB\-\-rate\fR.
  421. .TP
  422. \fB\-n, \-\-nperiods \fIint\fR
  423. Specify the number of periods in the hardware buffer. The default is
  424. 2. The period size (\fB\-p\fR) times \fB\-\-nperiods\fR times four
  425. (assuming 2 channels 16-bit samples) is the JACK buffer size in bytes.
  426. The JACK output latency in seconds is \fB\-\-nperiods\fR times
  427. \fB\-\-period\fR divided by \fB\-\-rate\fR.
  428. .TP
  429. \fB\-w, \-\-wordlength \fIint\fR
  430. Specify the sample size in bits. The default is 16.
  431. .TP
  432. \fB\-i, \-\-inchannels \fIint\fR
  433. Specify how many channels to capture (default: 2)
  434. .TP
  435. \fB\-o, \-\-outchannels \fIint\fR
  436. Specify number of playback channels (default: 2)
  437. .TP
  438. \fB\-C, \-\-capture \fIdevice_file\fR
  439. Specify input device for capture (default: /dev/audio)
  440. .TP
  441. \fB\-P, \-\-playback \fIdevice_file\fR
  442. Specify output device for playback (default: /dev/audio)
  443. .TP
  444. \fB\-b, \-\-ignorehwbuf \fIboolean\fR
  445. Specify, whether to ignore hardware period size (default: false)
  446. .SS PORTAUDIO BACKEND PARAMETERS
  447. .TP
  448. \fB\-c \-\-channel\fR
  449. Maximum number of channels (default: all available hardware channels)
  450. .TP
  451. \fB\-i \-\-channelin\fR
  452. Maximum number of input channels (default: all available hardware channels)
  453. .TP
  454. \fB\-I \-\-input\-latency\fR
  455. Extra input latency (frames) (default: 0)
  456. .TP
  457. \fB\-o \-\-channelout\fR
  458. Maximum number of output channels (default: all available hardware channels)
  459. .TP
  460. \fB\-O \-\-output\-latency\fR
  461. Extra output latency (frames) (default: 0)
  462. .TP
  463. \fB\-C \-\-capture\fR
  464. Whether or not to capture (default: true)
  465. .TP
  466. \fB\-P \-\-playback\fR
  467. Whether or not to playback (default: true)
  468. .TP
  469. \fB\-D \-\-duplex\fR
  470. Capture and playback (default: true)
  471. .TP
  472. \fB\-r \-\-rate\fR
  473. Sample rate (default: 48000)
  474. .TP
  475. \fB\-p \-\-period\fR
  476. Frames per period (default: 1024). Must be a power of 2.
  477. .TP
  478. \fB\-n \-\-name\fR
  479. Driver name (default: none)
  480. .TP
  481. \fB\-z \-\-dither\fR
  482. Dithering mode (default: none)
  483. .SH "EXAMPLES"
  484. .PP
  485. Print usage message for the parameters specific to each backend.
  486. .IP
  487. \fBjackd \-d alsa \-\-help\fR
  488. .br
  489. \fBjackd \-d coreaudio \-\-help\fR
  490. .br
  491. \fBjackd \-d net \-\-help\fR
  492. .br
  493. \fBjackd \-d dummy \-\-help\fR
  494. .br
  495. \fBjackd \-d firewire \-\-help\fR
  496. .br
  497. \fBjackd \-d freebob \-\-help\fR
  498. .br
  499. \fBjackd \-d oss \-\-help\fR
  500. .br
  501. \fBjackd \-d sun \-\-help\fR
  502. .br
  503. \fBjackd \-d portaudio \-\-help\fR
  504. .PP
  505. Run the JACK daemon with realtime priority using the first ALSA
  506. hardware card defined in \fB/etc/modules.conf\fR.
  507. .IP
  508. \fBjackstart \-\-realtime \-\-driver=alsa\fR
  509. .PP
  510. Run the JACK daemon with low latency giving verbose output, which can
  511. be helpful for trouble\-shooting system latency problems. A
  512. reasonably well\-tuned system with a good sound card and a
  513. low\-latency kernel can handle these values reliably. Some can do
  514. better. If you get xrun messages, try a larger buffer. Tuning a
  515. system for low latency can be challenging. The JACK FAQ,
  516. .I http://jackit.sourceforge.net/docs/faq.php\fR
  517. has some useful suggestions.
  518. .IP
  519. \fBjackstart \-Rv \-d alsa \-p 128 \-n 2 \-r 44100\fR
  520. .PP
  521. Run \fBjackd\fR with realtime priority using the "sblive" ALSA device
  522. defined in ~/.asoundrc. Apply shaped dithering to playback audio.
  523. .IP
  524. \fBjackd \-R \-d alsa \-d sblive \-\-dither=shaped\fR
  525. .PP
  526. Run \fBjackd\fR with no special privileges using the second ALSA
  527. hardware card defined in \fB/etc/modules.conf\fR. Any xruns reported
  528. by the ALSA backend will be ignored. The larger buffer helps reduce
  529. data loss. Rectangular dithering will be used for playback.
  530. .IP
  531. \fBjackd \-d alsa \-d hw:1 \-p2048 \-n3 \-\-softmode \-zr\fR
  532. .PP
  533. Run \fBjackd\fR in full\-duplex mode using the ALSA hw:0,0 device for
  534. playback and the hw:0,2 device for capture.
  535. .IP
  536. \fBjackd \-d alsa \-P hw:0,0 \-C hw:0,2\fR
  537. .PP
  538. Run \fBjackd\fR in playback\-only mode using the ALSA hw:0,0 device.
  539. .IP
  540. \fBjackd \-d alsa \-P hw:0,0\fR
  541. .SH "ENVIRONMENT"
  542. .br
  543. JACK is evolving a mechanism for automatically starting the server
  544. when needed. Any client started without a running JACK server will
  545. attempt to start one itself using the command line found in the first
  546. line of \fB$HOME/.jackdrc\fR if it exists, or \fB/etc/jackdrc\fR if it
  547. does not. If neither file exists, a built\-in default command will be
  548. used, including the \fB\-T\fR flag, which causes the server to shut
  549. down when all clients have exited.
  550. As a transition, this only happens when \fB$JACK_START_SERVER\fR is
  551. defined in the environment of the calling process. In the future this
  552. will become normal behavior. In either case, defining
  553. \fB$JACK_NO_START_SERVER\fR disables this feature.
  554. To change where JACK looks for the backend drivers, set
  555. \fB$JACK_DRIVER_DIR\fR.
  556. \fB$JACK_DEFAULT_SERVER\fR specifies the default server name. If not
  557. defined, the string "default" is used. If set in their respective
  558. environments, this affects \fBjackd\fR unless its \fB\-\-name\fR
  559. parameter is set, and all JACK clients unless they pass an explicit
  560. name to \fBjack_client_open()\fR.
  561. Defining \fB$JACK_NO_AUDIO_RESERVATION\fR will bypass audio device
  562. reservation via session bus (DBus). This can be useful if JACK
  563. was compiled with DBus support but should run on a headless system.
  564. \fB$JACK_PROMISCUOUS_SERVER\fR enables an alternate way of handling the various
  565. shared resources (Unix sockets, semaphores, ...). In this mode, the generated
  566. names will not contain the user id anymore, and the permissions of those
  567. resources will be relaxed, allowing clients from different users to talk with
  568. the same server. Moreover, on platforms that support it (all POSIX variants),
  569. if set to a valid Unix group name or id, the permissions will be restricted to
  570. that group, so only members of that group will be able to launch clients that
  571. talk to this server. Important note: it must be set with the same value for
  572. both server and clients to work as expected.
  573. .SH "SEE ALSO:"
  574. .PP
  575. .I http://www.jackaudio.org
  576. .br
  577. The official JACK website with news, docs and a list of JACK clients.
  578. .PP
  579. .I http://jackaudio.org/email
  580. .br
  581. The JACK developers' mailing list. Subscribe, to take part in
  582. development of JACK or JACK clients. User questions are also welcome,
  583. there is no user-specific mailing list.
  584. .PP
  585. .I http://www.jackosx.com/
  586. .br
  587. Tools specific to the Mac OS X version of JACK.
  588. .PP
  589. .I http://www.alsa\-project.org
  590. .br
  591. The Advanced Linux Sound Architecture.
  592. .SH "BUGS"
  593. Please report bugs to
  594. .br
  595. .I http://trac.jackaudio.org/
  596. .SH "AUTHORS"
  597. Architect and original implementor: Paul Davis
  598. .PP
  599. Original design Group: Paul Davis, David Olofson, Kai Vehmanen, Benno Sennoner,
  600. Richard Guenther, and other members of the Linux Audio Developers group.
  601. .PP
  602. Programming: Paul Davis, Jack O'Quin, Taybin Rutkin, Stephane Letz, Fernando
  603. Pablo Lopez-Lezcano, Steve Harris, Jeremy Hall, Andy Wingo, Kai
  604. Vehmanen, Melanie Thielker, Jussi Laako, Tilman Linneweh, Johnny
  605. Petrantoni, Torben Hohn.
  606. .PP
  607. Manpage written by Stefan Schwandter, Jack O'Quin and Alexandre
  608. Prokoudine.