Speaker or line-out jack...

Docedison:
I stand corrected and I apologize for misleading you, I ASSUMED you meant stereo audio. A single circuit switch jack will do what you want to do for a monaural source. The suggestions about sensing when something is plugged in won't work as the sense signal... becomes part of the audio signal too. This idea has no merit...
From Magician: "Continuity testing usually works by passing a small amount of current throw 'through' a load"...
The "Load" is the Audio Amplifier input, not a place where you would want anything but Audio.
Re-read the post from me that begins "Quick one word answer NO. You have 4 2 wires that need to go to the jack...
The connection methods would be the same however, just two wires less. Trying to use the speaker audio presents another issue as what "Switches" off the speakers when the Line In plug is inserted?.

Doc

Thank you for your answer! I was a bit confused too.
So by what I understand I need a circuit switch jack like the one you linked before but for mono audio? Problem is I have already used a jack input I had here, which just has the 3 pins (power, signal, ground).
I of course thinked of the normal switch, but that's exactly what I want to avoid...
My problem is precisely the question you ask. The speaker should be switched off, or at least make the current avoid it.