Unable to get audio through HDMI connection to TV with Ubuntu 14.04

I'm having trouble getting audio through my TV which is connected via HDMI. The item is available (HDMI / DisplayPort 2) via sound settings, but it doesn't play any sound. I'm able to get the volume when logged in to Windows on the same setup.

I've tried updating my graphics card drivers through Software & Updates > Additional Drivers to NVIDIA binary driver - version 331.38 from nvidia-331-updates)

I've done a couple of the things listed here: Ubuntu refuses to output audio via HDMI (installed pavucontrol, did the sound test on the highest voted answer), but they seem to be related to not even seeing the device listed, whereas I have the device listed I just can't get any sound.

When I play through Speakers - Build-in Audio it works


Just fixed my audio issues spent days updating drivers and it ended up being the most basic setting. Permissions, add yourself to the "audio" group. So pop out to terminal and execute the following command.

sudo adduser $USER audio

Hope it works for you as well. It's odd that you are not automatically in that group as sound is an essential service.

Oh, and reboot, just to ensure the permission kicks in.


Try these steps:

  1. Install pavucontrol, if you haven't already, using the command:

    sudo apt-get install pavucontrol
    
  2. Add your username to the groups audio, pulse, pulse-access, video and voice using the following command:

    sudo usermod -a -G audio,pulse,pulse-access,video,voice $USER
    

    If the command gives you errors on groups that don't exist, just ignore it.

  3. Install the latest ALSA drivers using the following commands:

    sudo add-apt-repository ppa:ubuntu-audio-dev/alsa-daily
    sudo apt-get update
    sudo apt-get install oem-audio-hda-daily-dkms
  4. Reboot and check if audio over HDMI is working.

Sources:

  • http://forums.linuxmint.com/viewtopic.php?f=48&t=153108
  • No sound through HDMI out, 13.04

I was having same problem voice is not coming in TV after HDMI cable. I changed my sound setting after that it works perfectly. I changed my default sound setting as shown in image speakers to HDMI.

:

Sound Setting