What is the difference between HDMI, and TOSLINK as far as audio? When I say Toslink, I am meaning optical (just so I'm clear, I think Toslink is optical).

Does optical carry all the available audio? Or is it limited to 5.1 or higher?

Thanks.