Firefox audio crackling and popping on Linux Mint

This problem was bugging me for quite a while and today I finally decided to address it. There are lot of advices online to try to run Firefox in safe mode and see if that fixes the problem, so I tried that first but it didn’t help. Safe mode actually just turns off extensions, but in my case it didn’t help. I found out that the easiest way to reproduce the problem was to run YouTube video in one window and after that open another window with eBay....

<span title='2021-10-02 00:00:00 +0000 UTC'>2021-10-02</span>&nbsp;·&nbsp;2 min&nbsp;·&nbsp;Boban Acimovic