I am using rpi for airplay with same speaker that I use for my pc. So I don't want to deal with cables everytime when I pass to rpi from pc. Can I connect audio output of pc to input of rpi and get all the output (both pc and airplay) from rpi without any latency? I am using usb soundcard for the input and output.
I have looked how to redirect sound with using alsa but I couldn't figure it out.