This article describes the setup of a playing sound with JACK (JACK Audio Connection Kit).
JACK is a sound server where applications like mpv can connect to to play their sound.
First, emerge the sound server itself.
emerge --ask media-sound/jack2
USE flags for media-sound/jack2 Jackdmp jack implemention for multi-processor machine
||Enable building of jackd|
||Enable FireWire/iLink IEEE1394 support (dv, camera, ...)|
||Enable Opus audio codec support|
||Add basic realtime configuration via sys-auth/realtime-base|
||Enable support for libreadline, a GNU line-editing library that almost everyone wants|
||Add support for libsndfile|
The global USE flag
jack enables support for JACK in other packages, so they can submit sound to a JACK server:
euse -E jack
The euse command is part of app-portage/gentoolkit.
After setting this be sure to update the system so the changes take effect:
emerge --ask --changed-use --deep @world
A good JACK configuration and control software is media-sound/cadence.
emerge --ask media-sound/cadence