maintainer-feedback requested: [Bug 220785] audio/jack: Update, added COOKEDMODE option, changed to GH

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Mon Jul 17 04:23:15 UTC 2017


Yuri Victorovich <yuri at rawbw.com> has reassigned Bugzilla Automation
<bugzilla at FreeBSD.org>'s request for maintainer-feedback to
multimedia at FreeBSD.org:
Bug 220785: audio/jack: Update, added COOKEDMODE option, changed to GH
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=220785



--- Description ---
Created attachment 184414
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=184414&action=edit
patch

Updated jack:
* Added 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.
* Switched to github. It is easy to change revisions. Particularly, included
the
  merged upstream pull request #60 there enables the realtime mode (-R). It
didn't
  make it into the release yet.
* Added USES=autoreconf (github doesn't include configure)
* Also jack now installs more manpages.

Builds in poudriere.
Runs fine. Particularly, it failed for me before, and now it works with
COOKEDMODE=on.

Just in case, to run with real-time priority /etc/rc.conf needs lines like
these:
> 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}"

- sample-rate can be 44100, 48000, etc.


More information about the freebsd-multimedia mailing list