Gday,
Im trying to setup a 5.1 surround system through my PC. The HDMI is connected through the graphics card to SPDIF splitter (https://www.amazon.com/Extractor-Splitter-Digital-embedder-Converter/dp/B012VJHK5A like this one) and then from HDMI to the TV and an optical cable to the home theatre...