Open Supermagnum opened 7 months ago
Hi. It seems to be very complex, and very long to develop for a niche case, sorry. Something doable would be to have the ray-jackpatch having its connections optionally dependent on the started clients and the present hardware JACK clients. Even this is surely source of unwanted behaviors.
I suggest you to use session scripts, and script the action to do when session is loaded, depending on situation.
Example rule 1: headphone mic is connected to OBS studio and mumble audio in. OBS studio has a monitor out that is connected to headphone speakers. Game audio out is also connected to OBS and headphones. Mumble audio out is also connected to OBS and headphones.
Rule 2: OBS studio is not running. Game audio is connected to headphones. Mumble audio out and in is connected to headphone mic and headphone speakers.
Rule 3: focusrite usb sound device is present, It's connected to guitarix, guitarix is connected to headphone speakers, ardour and OBS.