I've seen several of these posts about HDMI audio not passing to an external monitor (e.g. TV). I had this problem and found the solution, so I thought I'd pass it on. My PC is an Asus notebook running Win 8.1 with an Intel Iris 5100 Graphics adapter and Realtek HD Audio. While what I found may not apply to your system, I'm guessing it does to many.
The problem was recognizing that for HDMI output with audio, there are three (3) drivers involved:
1. The Display driver (e.g. Intel Iris Graphics 5100)
2. The Audio driver (e.g. Realtek HD Audio)
3. The Display Audio driver ("Display Audio" part of the Display driver)
After installing the latest drivers for 1 & 2, I then:
- Rebooted the PC
- Plugged in the HDMI cable to my TV
- Switched the PC display to Duplicate on the external monitor (TV)
At that point my Device Manager looked like this:
View attachment 35250
and my "Playback devices" in Sound looked like this:
View attachment 35251
I then installed a new driver for the "Display Audio" device. The new driver was part of my (Intel Iris 5100) Display driver files and located in a folder called "DisplayAudio". There was no Setup.exe for this driver, so it had to be installed manually - in other words, right-clicking on the Display Audio device in Device Manager and selecting "Update Driver software" then "Browse my computer for driver software".
After installing this driver, I did the reboot, plug-in in HDMI cable and set Duplicate display again (you have to do all three steps after each new driver install).
At that point my Device Manager looked like this:
View attachment 35253
and my "Playback devices" in Sound looked like this:
View attachment 35254
HDMI with audio is now working properly for me.
If you find a similar situation on your system, this should work. Good luck.