Use Jack and pulseaudio at the same time on Linux Mint
When you use a DAW with or without pipewire up to now you must use Jack but in this way you cannot see a video on youtube o do something else during your daw session, because jack control the audio and not pulseaudio.
In this guide we will see how to set jack to reproduce also the pulseaudio output.
Requirements
We need qjackctl and pulseaudio-module-jack
aptitude install qjackctl pulseaudio-module-jack
Config jack
Put in the config>options the following line in the after run box:
pactl load-module module-jack-sink;pactl load-module module-jack-source;pacmd set-default-sink jack_out
This line create some entityes that connect plus audio and jack.
Other Linux OS not ubuntu based as OpenSuse need a different string:
pactl load-module module-jack-sink; pactl load-module module-jack-source;pactl load-module module-jack-sink client_name=PulseAudioSinkExtra connect=no
But I use Linux Mint so the first line work for me.
Conclusion
This seams strange but it is simply to understand if we know that jack get the audio in an exclusive way in order to controll totally all the possible delay.
This configuration is simple and do not cost nothig, I wait the future solutions after pipewire become more and more supported from the DAW directly.