My current HTPC will play surround from video via optical cable to my AVR just fine from the onboard RealTek audio. Unfortunately some (if not most) games don't work this way. For my next build, I want to make sure I can get surround sound from not just video but from games as well. What's the best way to do this? I see most vid cards have HDMI output, but does that include a way to pump the audio through that cable as well? I plan on putting a 3d Blu Ray drive in the new build so I'd want to be able to pump TrueHD and dtsHD signals to the AVR as well.
I haven't kept up with some of the new tech of late so I'm a bit lost on how to accomplish this. Any help, or links explaining a setup, would truly be appreciated.