I'm trying to find a way to change output sources for applications so I can have OBS only play the audio I want it to for streaming (i.e the stream can hear my voice and game audio but not my music or discord calls). I want to hear all the audio currently playing through my headphones but only have OBS output specific sources for streams.
In Windows, people would use Voicemeeter Banana or virtual cables to do this; what is the linux equivalent? I've tried messing with null-sinks and loopback, but I don't have a clear understanding on what they're for or how they work. I somewhat got it to function, but when setting it up in OBS, the audio either starting echoing horribly or didn't sound as clear when switching between my headphones and the combined sink.
Many people have mentioned JACK, but it seems to have issues with my setup. I have a pair of Turtle Beach PX24s connected to my motherboard's audio ports (it requires an audio splitter cable to work on PC if you have a mic and speaker port; it is not usb connected) and I can not for the life of me figure out how to get JACK to select my headphones as the output device and play audio; I tried all the output device sources available and none playback audio when JACK runs.
How would I go about setting this up? I do have an audio interface (Focusrite Scarlette Solo 1st), though I can only use it for my guitar (don't own a XLR Microphone, nor studio headphones).