HDMI Sound output dissapearing after first use

I have a media centre with a ATI Radeon HD graphics card using Ubuntu desktop with all updates current which works fine for video and will also work perfectly for sound.

The problem is that it seems after the first time using the media centre to play something the next time I come back to use it the HDMI output device is missing within the sound devices list (it's always there and not being used when I turn on the media centre for the first time).

A reboot remedies this and I can then play a film or music through the TV (which is hooked up to the sound system).

I appreciate there are other solutions hardware related such as using AUX or digital audio cables but the HDMI cable sound output "works" and I want a software solution to what seems to be a driver related issue.

This isn't program specific I have tried numerous different video and audio players using multiple file types and the HDMI sound output dissapears every time I next use it.

Let me know if more info is needed!


Solution 1:

Does killing pulseaudio help? killall pulseaudio