Home theater surround sound help with digital cable and ps3?

I know this question has been asked many times but nothing was really able to help me…
I have a 65" Toshiba dlp tv, a Samsung HT-X40 dvd/home theater system, a ps3 and a HDTV digital cable box. The tv has 3 hdmi inputs and i use the ps3, the dvd/home theater system and the cable box for all three hdmi inputs into the tv. When i watch dvds the surround sound of course works just like its supposed to. However i do not know how to hook up the cable box and ps3 so the surround sound will work with them without suffering video quality by using the imputs in the receiver.
I know alot about electronics but home theater is just not my best area so any help/advice would be awesome!

Related posts:

  1. hooking up home theater surround sound to cable t.v.?
  2. I just bought a new TV and a surround sound home theater…what’s the best way to hook it all up?
  3. How do I install home theater surround sound with a receiver VCR, DVD-digital recorder & cable TV?
  4. How do you calibrate a 5.1 surround sound home theater?
  5. How can i hook up my home theater surround sound to my computer?