Page 1 of 1

VLC to start using JACK in AUTO?

Posted: Mon Nov 06, 2017 12:44 pm
by fretski
If I want to hear VLC audio while JACK is running I need to set "Audio" to "Jack" in VLC preferences, save, exit and relaunch.

Is there a way to have VLC latch itself to JACK automatically while "Auto" is in prefs instead of "Jack"?

Re: VLC to start using JACK in AUTO?

Posted: Thu Dec 21, 2017 4:33 am
by Brynildsen

Re: VLC to start using JACK in AUTO?

Posted: Fri Dec 22, 2017 3:07 pm
by fretski
Brynildsen wrote:look in VLC preferences..
https://wiki.archlinux.org/index.php/JA ... rting_JACK


Thanks very much, that did it!

Re: VLC to start using JACK in AUTO?

Posted: Sat Dec 23, 2017 3:17 pm
by Brynildsen
fretski wrote:Thanks very much, that did it!


Cool dont forget to mark SOLVED pls.. :D

Re: VLC to start using JACK in AUTO?

Posted: Sat Dec 23, 2017 3:25 pm
by Brynildsen
BTW...

Another way is to install the pulseaudio-jack package.. on Arch it is in official repo. This means that you load up jack, restart pulseaudio and it will automaticly connect to a jack sink instead of your soundcard, which is now owned by jack. When you exit and stop jack, you just restart pulse again and it hooks back up to the soundcard like normal.

That way all your usual programs like browsers, mediaplayers, flashplayers work like you are used to, and your pulseaudiomixer pavucontrol still sets your volume for all these things, exept your musicsoftware/DAW which has its own seperate internal volume control. It is practial because you don't need to go into any program settings anywhere, like you do on VLC here..

There should be something similar to a pulseaudio-jack package on most distros I think, if not ask in your distros forum.

Re: VLC to start using JACK in AUTO?

Posted: Sun Dec 24, 2017 4:05 pm
by Lyberta
Is there a GUI tool that can restart pulseaudio when JACK is toggled? Maybe add a feature request to QJackCtl?

Re: VLC to start using JACK in AUTO?

Posted: Wed Dec 27, 2017 10:15 am
by Brynildsen
Lyberta wrote:Is there a GUI tool that can restart pulseaudio when JACK is toggled? Maybe add a feature request to QJackCtl?

I don't think so.. but..
in terminal write:

Code: Select all

pulseaudio -k

with tabcompletion it is probably just as quick as clicking an icon.. make a bash script an put on your desktop so you can click it if you want.
Pulseaudio usually respawns itself on most desktop environments, which is fine because it should then connect as pulseaudio/jack sink instead.
Keep an eye on qjackctl connections window, where it should show up again a few sec after you kill it.
Or write

Code: Select all

ps -A |grep pulse

or start htop -> F4 filter write pulse and watch it dissappear for a moment and spawn back.

You can probably also write it in the server prefix in qjackctl settings, never tried..

Re: VLC to start using JACK in AUTO?

Posted: Wed Apr 04, 2018 1:14 pm
by fretski
Brynildsen wrote:
fretski wrote:Thanks very much, that did it!


Cool dont forget to mark SOLVED pls.. :D


It worked for a while but no longer does, on Suse-13.2 at the moment :(

Re: VLC to start using JACK in AUTO?

Posted: Wed Nov 13, 2019 2:05 am
by fretski
I'm revisiting this again because I'm not getting what I want. When I start qJackCtl (guitar sessions because Audacity records really nicely with jack, not so hot without it) I want everything music to use jack. The VLC prefs doesn't work anymore via the show-all route; what do I put into "Connect to clients matching" and into "Jack Client Name"? Anyway I'm now past the VLC-only level so the suggestions to restart pulse because that will reroute all sound business to jack sounds like a good idea. Except it don't work either.

For what it's worth (using Suse TW right now) there is NO pulseaudio-jack package to install, I have everything that has pulse in it that is installable installed however

Code: Select all

pulseaudio -k


doesn't echo anything nor show in the qJackCtl connections window

Code: Select all

ps -A |grep pulse


gives

Code: Select all

4334 ?        00:00:00 pulseaudio


What else can I do?