aboutsummaryrefslogtreecommitdiff
path: root/audio/jack/pkg-message
blob: 46971db02ba60fa3ec63d18d522462a88389e53d (plain) (blame)
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
[
{
	message: <<EOD
======================================================================
It is recommended to run Jack with real-time priority. As FreeBSD doesn't
allow unprivileged users to set real-time priority, you should do it manually
with rtprio(1). As this port comes with jackd and jackdbus executables, note
that only one can be used.

Configure backend options using jack_control:
$ jack_control ds oss
$ jack_control eps realtime False
$ jack_control eps sync True

Configure memory locking editing either /etc/login.conf or ~/.login_conf with:
:memorylocked=unlimited:

After every change to login.conf, you should execute:
cap_mkdb /etc/login.conf

There are two ways to start jack:
* via dbus (new executable: jackdbus)
* as rc service (classic executable: jackd)

- Starting via DBUS:
$ jack_control start

- Starting as RC service:
add the following lines to /etc/rc.conf:
jackd_enable="YES"
jackd_user="{your-jack-user}"
jackd_rtprio="YES"
jackd_args="-R -doss -r{sample-rate} -p1024 -n3 -w16 \
            --capture /dev/dsp{N} --playback /dev/dsp{N}"

Where:
- your-jack-user: is the user who is going to use jack; currently
                  only one user is supported
- sample-rate: can be 44100, 48000, etc.
- /dev/dsp{N}: your OSS devices, usually /dev/dsp0
======================================================================
EOD,
	type: install
}
]