topmusik wrote: ↑Tue Jan 30, 2024 1:13 pmthx, seems a step in the wright direction. pulseaudio-module-jack was already the newest version and was determined as manually installed (1:13.99.1-1ubuntu3.13). i have ubuntu studio 20.04 and MusE AppImage 4.2.1
changed VLC to snap in version 3.0.19 and : jack option is available !
20240130%JackVlc3019snap.png
what options to define now ? with standard options still no sound when MusE ist active and even not when jack is started.
when jack is stopped sound is there-and / or handling with jack itself; can't see VLC in jack connection window
20240130%JackAudioConnections.png
Okay, so now you have two options available to you. Either use VLC with pulseaudio, or with jack. Kind of depends on whether or not you plan to use jack all of the time.
If not, better go with pulseaudio and use pulseaudio-module-jack. For this to work you'll need to activate "dbus" and "jackdbus" in Qjackctl settings. Possibly you have to, once, manually point pulseaudio to module-jack-sink in pavucontrol. Then, if everything works as it should, whenever you start Jack via Qjackctl, the pulseaudio-module-jack should be automatically activated and pulseaudio, including VLC's output, will be routed to Jack. And whenever Jack's not active, VLC will simply sound via the pulseaudio server. As hasslefree as it can be!
Even if you do plan to use Jack fulltime, the above configuration will save you the hassle of dealng with VLC's idiosyncratic Jack behaviour.
But if you insist, give the "jack client" a name in VLC's jack module settings, and use qjackctl to set up a persistent connection between that client and wherever you'll want to route the audio to. But be aware, VLC creates and deletes ports on-the-fly. So you'll have to play some audio with VLC to be able to see VLC's jack ports in qjackctl and to be able to create your persistent patchbay.
DISCLAIMER: I have no experience with Snap packages, so how or if that will have any influence on the above, that's for you to find out and document! And if you also happen to have pipewire lurking somewhere on your system, all bets are off!