I hope this is the correct forum for this question, I don't have a background as a electrical engineer, just a hobby.
I have a problem that I can't figure out. I have two audio sources, one default and one 3.5mm mono audio jack. The plan is to use the default source as long as a cable isn't connected to the audio jack. The audio jack has three pins; ground, audio, and a pin that is connected to the middle pin as long as a cable isn't inserted in the audio jack. I plan to use a Raspberry Pi as the micro controller for the project and the Pi is the default audio source.
I might have misunderstood the mono jacks pins, see image below.