according to this site:
http://myweb.tiscali.co.uk/nuukspot/decdun/gainclonepre.html Source selector (for beginners).
Some people only ever use one source, usually CD but if you use more than one source then you will want to be able to select between each of those sources. This is most often done using some sort of switch. There is a much more complicated method using relays that I will leave for another time.
The rotary switch is useful for switching more than two sources. If you have just two sources, then an ordinary DPDT toggle switch will take up much less room. I used one of these in my 'pod pre amp' to save on space but usually I use the rotary type.
DPDT selector switch.
Wiring A="Left channel source 1, B right channel source 1, C left channel out, D right channel out, E left channel source 2, F right channel source 2.
Rotary types come in different configurations that allow you to switch a different number of sources. If you have, say three sources to switch, a 4 pole 3-way switch will do the job and enable you to switch both 'hot' and 'cold' lines at the same time (for two channels). Hot and cold lines - the 'hot' line is the wire carrying the signal. The one that you connect to the centre pin of the phono plug/socket. The 'cold' wire carries the return signal to ground.
Rotary selector switch.
Wiring depends on switch type
If you need to switch between more than three sources, use a 2 pole 6-way rotary switch. This would allow you to switch up to six sources for two channels but only on the 'hot' line and not the 'cold'.
Another option is to make your own rotary switch from a switch mechanisms and rotary wafers (use the break-before-make type also called 'non-shorting'). However, ready-made switches are cheaper and sealed!
Though I did find another source that recommended the shorting type in audio applications, I couldn't get photos without registering so not sure if that is applicable.