Here’s a simple electronic stereo audio selector switch that can be used for arduino. You can directly connect the pin 1, 16, 3 and 18 to arduino for selecting the source. This pin can accept as low as 2V for logic high according to its datasheet so no need for level shifter.
About the circuit
This circuit is from an old electronic magazine. The circuit is based on LM1037 analog switch IC.