Static and crackling in my HDMI audio?

SOLUTION:

I finally found a solution to my problem randomly.

sudo pico /etc/pulse/default.pa

look for

load-module module-udev-detect

and add tsched=0

load-module module-udev-detect tsched=0

This simple modification fixed all the sound crackling and static on my PC, in Google Chrome, chromium, HTML5 videos, etc etc


I have a ATI R7 260x, the HDMI audio problem was solved when I've had trying two different workarounds together. It's working as designed now. (on Ubuntu 14.10 64-bit)

Follow the steps below:

  1. Open the terminal with Ctrl+Alt+t.

  2. sudo nano /etc/pulse/default.pa

  3. Replace the line

    load-module module-udev-detect
    

    with

    load-module module-udev-detect tsched=0
    

    and save file.

  4. sudo nano /etc/modprobe.d/alsa-base.conf

  5. Insert options snd-hda-intel vid=8086 pid=8ca0 snoop=0 at the end of the file.

  6. Reboot the PC


I've had crackling and static as well and I solved it by first muting microphone input, and secondly changing my sound to 7.1 surround (even though I only have 2 speakers).