usually the optical is an output on the tv....
you could go HDMI to the tv, then optical out from the tv to your processor....
I have been thinking of doing this since my older a/v receiver only has 2 optical inputs and no HDMI, and I have 3 optical devices that I would like to connect.
send my 3 HDMI to my Samsung tv, and let the tv split and send the audio back out to one input on my reciver....