freebsd-ports/audio/jack/pkg-message
Thomas Zander 8befac40da Enable COOKEDMODE for more versatile soundcard support; use GitHub
Detailed log:
* Add COOKEDMODE option that turns on SNDCTL_DSP_COOKEDMODE.
  Without the cooked mode Jack's OSS driver currently fails for some
  soundcards (it chooses wrong sample rate). It's better to have
  COOKEDMODE=on by default since it often appears broken otherwise.
  Professionals probably want COOKEDMODE=off, after they make sure their
  soundcard works with jack.
* Switch to github for fetching the sources.
* Include the merged upstream pull request #60 to enable the realtime
  mode (-R).
* Add USES=autoreconf (github source doesn't include a configure script)
* Install more manpages.

PR:		220785
Submitted by:	yuri@rawbw.com
MFH:		2017Q3
2017-08-12 08:26:24 +00:00

26 lines
1.1 KiB
Text

======================================================================
It is recommended to run Jack with real-time priority (-R).
The recommended way to start Jack is to 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
Please note that the port option COOKEDMODE is "on" by default, which
makes your system to automatically scale the sample-rate between
Jack and audio hardware. One reason COOKEDMODE=on is because
Jack's OSS driver doesn't support some sample-rate and hardware
combinations when COOKEDMODE=off. To achieve the best sound quality
please make sure your hardware natively supports the sample-rate set
in jackd_args, and set COOKEDMODE=off.
======================================================================