File: README-jack

package info (click to toggle)
alsa-plugins 1.2.12-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 2,616 kB
  • sloc: ansic: 12,414; sh: 4,159; makefile: 298
file content (46 lines) | stat: -rw-r--r-- 1,336 bytes parent folder | download | duplicates (7)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
JACK <--> ALSA PCM plugin
=========================

This plugin converts the ALSA API over JACK (Jack Audio Connection
Kit, http://jackit.sf.net) API.  ALSA native applications can work
transparently together with jackd for both playback and capture.

	ALSA apps (playback) -> ALSA-lib -> JACK plugin -> JACK deamon
	ALSA apps (capture) <- ALSA-lib <- JACK plugin <- JACK daemon

This plugin provides the PCM type "jack".  The typical configuration
looks like below:

	pcm.jack {
		type jack
		playback_ports {
			0 alsa_pcm:playback_1
			1 alsa_pcm:playback_2
		}
		capture_ports {
			0 alsa_pcm:capture_1
			1 alsa_pcm:pcapture_2
		}
	}

Put the above to ~/.asoundrc (or /etc/asound.conf), and use "jack" PCM
with your ALSA apps.  For example,

	% aplay -Djack foo.wav

The jack plugin can have two config options: playback_ports and
capture_ports.  Both are compound type config, including the following
format:
	{
		channel	port-name
		channel port-name
		...
	}
The first argument is the channel number (zero-based) and the second
is the corresponding JACK port name.

The plugin is installed in /usr/lib/alsa-lib directory as default,
which is the default search path of additional plugins for alsa-lib.
On a 64bit system like x86-64, the proper prefix option (typically,
--prefix=/usr/lib64) must be given to configure script.