This is a simple device. Each HDMi source plugs into it. One HDMI out to TV and one optical out your DAC/stereo. The sound will go both to the tv and to the stereo so you will have the option to listen in either scenario (assuming your tv has speakers). Hope this helps.
Try this. I have an older but similar device that does a decent job. My issue was HDMI video switching with the need to strip the audio out to send optically to my DAC.
https://www.amazon.ca/EZCOO-HDMI-Matrix-60Hz-embed/dp/B078YS79HZ