Currently your AUDIO connection in order of preference are:
HDMI (digital, uncompressed surround highest fidelity)
Optical (digital, compressed surround)
Analog (stereo only, the lowest denominator)
So then you choose, just go from top to bottom, until u find what both pieces you are trying to connect have the same interface. Easy.