The latest pulseaudio update fixed this for me on 16.04.
After the update, just to see if something changed, I reverted the changes made by my workaround in comment #20, rebooted, tested it for a day and I didn't encounter this bug ever since.
My current pulseaudio version is 1:8.0-0ubuntu3.3 from xenial-updates
My sound card:
-(aplay -L): PCH [HDA Intel PCH], device 0: ALC898 Analog [ALC898 Analog]
-(lspci): Audio device: Intel Corporation 7 Series/C210 Series Chipset Family High Definition Audio Controller (rev 04)
Kernel version: 4.4.0-83-generic
In case someone wants to double check this and did previously apply my workaround in comment #20, just run hdajackretask, click "Remove boot override", install the latest pulseaudio update and reboot.
The latest pulseaudio update fixed this for me on 16.04.
After the update, just to see if something changed, I reverted the changes made by my workaround in comment #20, rebooted, tested it for a day and I didn't encounter this bug ever since.
My current pulseaudio version is 1:8.0-0ubuntu3.3 from xenial-updates
My sound card:
-(aplay -L): PCH [HDA Intel PCH], device 0: ALC898 Analog [ALC898 Analog]
-(lspci): Audio device: Intel Corporation 7 Series/C210 Series Chipset Family High Definition Audio Controller (rev 04)
Kernel version: 4.4.0-83-generic
In case someone wants to double check this and did previously apply my workaround in comment #20, just run hdajackretask, click "Remove boot override", install the latest pulseaudio update and reboot.