How to properly use a shut pin in audio connector to prevent floating pins when disconnected
Just connect pin 3 to pin 1. That way, when the input signal is disconnected pin 2 will be grounded and there will be no noise pickup.