The JACK input and output instantiated by VLC come and go, as VLC opens the input item, or starts/stops the audio output pipeline. This does not work very well with the JACK model.
To work around this, I guess VLC would need a persistent interface plugin (or akin) that spawns the JACK connection and keeps it regardless of the VLC playlist state.
Edited
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
commit a20103b2a76ee13e55cba9b2164903eb911f964b
Author: Rémi Denis-Courmont remi@remlab.net
Date: Sat Oct 20 20:27:48 2012 +0300
aout: add distinct start/stop callbacks (refs [#4787](https://code.videolan.org/videolan/vlc/-/issues/4787), refs [#7601](https://code.videolan.org/videolan/vlc/-/issues/7601))This would enable the input manager to hold an audio output plugin atall times. Then it would be possible to keep track of output devices,volume, policy and (JACK) routing continuously. For this to work,outputs will need to be patched so that device selection and volumehandling works even when playing back.Note though that this commit only introduces the change in theaudio_output_t interface; it does not implement the features above.
commit b1c459e9
Author: Rémi Denis-Courmont remi@remlab.net
Date: Sat Oct 20 20:27:48 2012 +0300
aout: add distinct start/stop callbacks (refs [#4787](https://code.videolan.org/videolan/vlc/-/issues/4787), refs [#7601](https://code.videolan.org/videolan/vlc/-/issues/7601))This would enable the input manager to hold an audio output plugin atall times. Then it would be possible to keep track of output devices,volume, policy and (JACK) routing continuously. For this to work,outputs will need to be patched so that device selection and volumehandling works even when playing back.Note though that this commit only introduces the change in theaudio_output_t interface; it does not implement the features above.
Ah, didn't catch what it was before. Might as well leave it as GNU/Linux anyway, I doubt anyone is building this plugin for other platforms at the moment.