Surround sound issues (&HDMI)

thats how i run it when i watch tv, from the cable box, to the receiver. But i have to switch it when I want to play ps3, i need to solve that issue.