How can i hook up my home theater surround sound to my computer?

Right now i have a 5.1 surround sound for my home theater. Also i have my computer's sound card hooked up to my reciever through a digital optical cable. I also went in to my sound properties on my computer and it lists three things:

Speakers: not plugged in
Digital output: working
HDMI output: working
7 answers 7