Sound stopped working after using HDMI

Solution 1:

Well, this worked for me and it is really easy :

  1. Open PulseAudio Volume Control (open a terminal and type pavucontrol). Install it if you don't have it.
  2. When you open it, go to "Configuration" : For one of the "built in audios" one has HDMI (unplugged) in front of "Profile". Choose "Off" for that profile.

Solution 2:

For Ubuntu 18.04:

sudo apt-get install pavucontrol

Start playing music or whatever you want. (You still hear nothing)

pavucontrol

Go at: playback

You will see there that the playback for the app is set to HDMI. Redirect it.

This implies that each app might need to be manually changed :-/

Other solution, replug HDMI and choose the correct output device.

UBUNTU, you need to fix this!

Solution 3:

I've finally solved it. I deleted any asoundconf files from my home directory after testing the new user theory. Then I just killed and restarted pulseaudio and everything came back!