Toslink switch. A kind of device that can switch a path between multiple inputs and multiple outputs. Mine has 4 inputs and 4 outputs and a remote that lets me select current input and output separately with two button presses.
My inputs:
- laptop with external Behringer audio interface with optical output,
- bluetooth receiver/transmitter with optical output
- PS4 (through toslink output)
My outputs:
- DAC (with optical input) into headphone amplifier into headphones
- "large" amplifier (with optical input) for my bookshelf speakers,
- bluetooth receiver/transmitter with optical input
The bluetooth receiver/transmitter is a funny device that can perform one of two roles and has separate remote to toggle. It is connected to the switch twice, once for output, once for input. I use this to send signal to up to two pairs of bluetooth headphones (for example for watching movies on external monitor). I also use this to capture output from my phone or laptop when the laptop is not connected to the docking stotion.
What all this does is it allows me to send any listed input to any listed output, except bluetooth into bluetooth -- that device can only operate in one selected mode. For example I may play PS4 on my speakers and with one button press send it to my bluetooth headphones or my wired headphones. Or I can use my bookshelf speakers with my laptop on my lap. Everything without connecting any cables at all -- just up to three presses on two remotes.
I had non-optical solution before but this caused a lot of interference. Rather than try to debug and fix this I decided to just not have any copper between devices. Optical cables fixed it all for me.