I'm assuming here that the user wants to make use of pulseaudio for "normal everyday" purposes and to switch to jack, and route pulse through jack, when for example, practicing an instrument when playing youtube videos through jack.
The method is described at these URLs. It didn't work exactly as shown on Linux Mint but perhaps it's a different story on other people's systems.
http://jackaudio.org/faq/pulseaudio_and_jack.html
https://github.com/jackaudio/jackaudio. ... ulseOnJack
Prerequisites:
Linux Mint, perhaps Ubuntu and Debian (mileage may vary), KXStudio, Qjackctl, working Jack Configuration, preferably a low-latency or PREEMPT kernel
Install pulseaudio-module-jack
Code: Select all
$sudo apt-get install pulseaudio-module-jack
Code: Select all
default-sample-rate = 48000
Code: Select all
set-default-sink jack_out
set-default-source jack_in
Last, open qjackctl, click on Setup, Options tab, tick the Execute script after Startup switch, and paste this line into the box.
Code: Select all
pactl load-module module-jack-sink channels=2; pactl load-module module-jack-source channels=2; pacmd set-default-sink jack_out
To adjust system volume, use alsamixer
Start / Stop pulseaudio (if necessary) with
Code: Select all
$pulseaudio --start
Code: Select all
$pulseaudio --kill