Blame doc/README-jack

Packit 675970
JACK <--> ALSA PCM plugin
Packit 675970
=========================
Packit 675970
Packit 675970
This plugin converts the ALSA API over JACK (Jack Audio Connection
Packit 675970
Kit, http://jackit.sf.net) API.  ALSA native applications can work
Packit 675970
transparently together with jackd for both playback and capture.
Packit 675970
Packit 675970
	ALSA apps (playback) -> ALSA-lib -> JACK plugin -> JACK deamon
Packit 675970
	ALSA apps (capture) <- ALSA-lib <- JACK plugin <- JACK daemon
Packit 675970
Packit 675970
This plugin provides the PCM type "jack".  The typical configuration
Packit 675970
looks like below:
Packit 675970
Packit 675970
	pcm.jack {
Packit 675970
		type jack
Packit 675970
		playback_ports {
Packit 675970
			0 alsa_pcm:playback_1
Packit 675970
			1 alsa_pcm:playback_2
Packit 675970
		}
Packit 675970
		capture_ports {
Packit 675970
			0 alsa_pcm:capture_1
Packit 675970
			1 alsa_pcm:pcapture_2
Packit 675970
		}
Packit 675970
	}
Packit 675970
Packit 675970
Put the above to ~/.asoundrc (or /etc/asound.conf), and use "jack" PCM
Packit 675970
with your ALSA apps.  For example,
Packit 675970
Packit 675970
	% aplay -Djack foo.wav
Packit 675970
Packit 675970
The jack plugin can have two config options: playback_ports and
Packit 675970
capture_ports.  Both are compound type config, including the following
Packit 675970
format:
Packit 675970
	{
Packit 675970
		channel	port-name
Packit 675970
		channel port-name
Packit 675970
		...
Packit 675970
	}
Packit 675970
The first argument is the channel number (zero-based) and the second
Packit 675970
is the corresponding JACK port name.
Packit 675970
Packit 675970
The plugin is installed in /usr/lib/alsa-lib directory as default,
Packit 675970
which is the default search path of additional plugins for alsa-lib.
Packit 675970
On a 64bit system like x86-64, the proper prefix option (typically,
Packit 675970
--prefix=/usr/lib64) must be given to configure script.
Packit 675970