I want the normal path from a sound card to go to a speaker/internal mic, but when a headphones or mic (mic with PTT, hence 4-pole) is connected in a 3.5mm plug then I want to reroute there.
Ideally I want this for 3-pole and 4-pole 3.5mm through-hole PCB mount.
I think what I want is TRS and TRRS switched socket. But they seem to only have one path broken when a plug is inserted. Should I use relays to switch the 2-3 signal paths?