Connect it to your Soundbar. Toslink is a standard optical audio cable usually used on home theater systems to connect to digital electronics like DVD players.
 Earlier models of desktop and laptop computers have a Toslink port at its back or on the sides, along with other ports like the keyboard, mouse, and USB.
 You'll want to do this from the Soundbar to the Toslink port on your computer. You can now use the Soundbar as your PC’s external speaker.
Get the Toslink cable.
Look for the Toslink port on your computer.
Plug in the other end of the cable.
{"src": "wikihow-all_test", "title": "How to Connect Soundbar to PC3"}