I checked the reviews before buying this and didn't see any discussion about it, but I took a chance and it turns out it can as an input switch and it turns out you can. It has an "input" (green connector) that switches between two "outputs" (black connector and headphone jack) when you press the button. You can wire it in reverse and switch between the two inputs instead. Simply connect the green connector to your speakers and the black connector to your computer. You can then use an optional 3.5mm cable to connect something else (I use my phone for music) to the headphone jack. with the button on the side. (ignore the red fork)