Package pulseaudio-jack
supports PulseAudio to JACK connections
If PulseAudio is not normally used with ALSA connections, ALSA Devices can be set to 'Off'
pactl set-card-profile 0 off
repeat command and change 0
to 1
,2
etc. if needed for more audio devices
Better solution is to remove pulseaudio modules detecting ALSA cards:
cp /etc/pulse/default.pa ~/.config/pulse/default.pa
nano ~/.config/pulse/default.pa
find this section and add '#' at start of each line to look like this:
### Automatically load driver modules depending on the hardware available
#.ifexists module-udev-detect.so
#load-module module-udev-detect
#.else
### Use the static hardware detection module (for systems that lack udev support)
#load-module module-detect
#.endif
Save and exit nano (can use any other text editor)
Restart Pulseaudio or PC to reload new configuration
Using JACK with D-Bus will automatically load Pulseaudio Jack Sink and Pulseaudio JACK Source connections
If both JACK and PulseAudio are running, Connections can be added with:
pactl load-module module-jack-sink
pactl load-module module-jack-source connect=0
The sound output of JACK can be played back via PulseAudio with:
pactl load-module module-loopback source=jack_in
if Pulseaudio is started after JACK, the commands minus the 'pactl' can be added to end of configuration file ~/.config/pulse/default.pa