Default [Q] AOSP sound/audio glitches

So on every AOSP ROM I install I seem to get a buzzing sound similar to when you are listening to a CD and it is scratched and the audio stutters. I'm not running any audio mods, and the issue appears most often in YouTube. Any help would be appreciated.

Thanks in advance.

Sent from my HTC One_M8 using XDA Premium 4 mobile app
NOTICE

IF I HELP YOU WITH ANYTHING (first, hit the thanks button) AND YOUR DEVICE ENDS UP BRICKED, I AM NOT RESPONSIBLE FOR IT!!!

DEVICE: AT&T HTC One M7UL/Silver/32GB
RETIRED: HTC Inspire 4G (USA) or Desire HD (EUROPE)
NEXT/DREAM DEVICE: Any Android device with the resolution of 1440 x 2560
PRIMARY ROM: SinlessROM 8.3.0
SECONDARY ROM: Android L Preview Port
MULTIBOOT
KERNEL: ELEMENTALX 15.1 GPE
S-OFF