I use my ps3 w/hdmi and optical for Dolby or dts. look in your menu settings(I dont have a xbox) under audio set up and look for optical. if this option is not available try run a optical from your HDTV there is one usualy on the back. I have not tried this personally.

Good luck