qjackctl icon indicating copy to clipboard operation
qjackctl copied to clipboard

Feature request: Pick profile depending on connected interfaces

Open mxa opened this issue 6 years ago • 4 comments

I have several interfaces and I'd like QJackCtl to pick the profile automatically when I connect one of those cards and fall back to the internal soundcard when neither of the interfaces is available.

mxa avatar Nov 28 '19 13:11 mxa

i do see your point and the UX potential for this, but this kind of "automagic" selection would have to go and resort to udev signaling and what not and besides it would be rather deeply specific to Linux and an open can of worms altogether...

I prefer not going that way. The user (you) are King in his/her castle and should know how and when to switch whatever. You (the user) are in charge, not the software.

;)

rncbc avatar Nov 28 '19 18:11 rncbc

I understand your take on it. Is there a way to do this with some scripting magic on linux? I also would like to launch a zita-a2j command whenever a certain device is connected. I assume this would be a udev rule but could not get it to work.

mxa avatar Nov 28 '19 18:11 mxa

you can at least run qjackctl --preset PRESETNAME ... and it will (try to) switch accordingly (if qjackctl is already up and running in single instance mode)

rncbc avatar Nov 28 '19 18:11 rncbc

For reference and anyone who might stumble on this issue: the jack-select tool is controlling jackdbus and is offering to select the profiles made with QjackCtl depending on whether the associated card is available or not.

mxa avatar Jan 04 '20 15:01 mxa