yes you are right, hdmi for video toslink for audio.
Basically, in the settings, you choose your video connection and audio connection. Just make sure to choose the optical cable in the audio options.
let me know if you need the steps, I have a ps3 as well