I fear this is either someone trying HDMI ARC (nope, don't do that.) Or the settings for optical are not right. I don't own your setup but if nothing works you have a warranty issue. That is, your TV may have a defect. Call Samsung now and if they can't get sound output then it's in need of repair.
I have tried everything that my Samsung manuel for model PN58C550GIFXZA and Bose 5 sound bar has suggested to no avail. I love my TV it is perfect, now trying to get a compatible sound bar for clarity is another matter. My friend even gave me a
Onkyo TX-SR608 Receiver but no luck. Am I trying options that will not work for me or am I missing something. Help I have been working on this problem for a week and have probably changed every option possible.