HEX
Server: Apache/2.4.41 (Ubuntu)
System: Linux ip-172-31-42-149 5.15.0-1084-aws #91~20.04.1-Ubuntu SMP Fri May 2 07:00:04 UTC 2025 aarch64
User: ubuntu (1000)
PHP: 7.4.33
Disabled: pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_get_handler,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,pcntl_async_signals,pcntl_unshare,
Upload Files
File: //usr/share/doc/libasound2-plugins/README-jack
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.