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.
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.