go to sound controls when connected with hdmi and select the hdmi in playback options. enable it.
check in manage< drivers < sound that hdmi sound driver is present like intel display for my laptop.
and are u sure that u are using hdmi not vga cable?