Audio choppy and laggy on new install

I flashed a fresh copy of Ubuntu MATE to a 64gb sd card on My Raspberry Pi 4b, 2GB Ram, everything works perfect except for the audio. I have to switch it from the headphone jack to the hdmi, and then I get sound. The problem is, it takes a second for the audio to even work and when it does it's either really choppy or really laggy, or both. This mainly happens on Chromium and Firefox, usually using discord or youtube. How do I get the audio to sound normal?

same problem with me.. but now solved
go here

That fixed it. Thank you so much.