Headphone sudden loud noise on Ubuntu 20.04

When I'm using my headphones and listening or watching something on any browser at some point a loud noise starts to sound. This is not happening only while I use a browser, it happens too while using VLC Player or other applications. But mostly happens with a browser.
The audio starts normal but a few seconds/minutes later the audio is distorted and a loud noise starts and doesn't stops until I pause the audio for a while.

I recorded this. I leave a link to a sample:

This started after a recently fresh install of Ubuntu 20.04. Started using Unity desktop and switched to Mate desktop a few hours later.
I can't confirm if this happened while using Unity because I didn't used my headphones back then. I can't confirm either if this happens with speakers because I don't have any to do the test.
This doesn't happen when I'm using Windows 10 on the same computer.
All drivers are up to date and tried purging Pulse Audio, Alsa and reinstalling and rebooting.

I've tried other solutions in other posts but none seem to work all most of them have a similar issue but not exactly my issue.

Maybe try installing the newer 22.04LTS? You can also do an upgrade from 20.04. It’s probably a pulse audio issue.

My pulse audio dump:

### Read from configuration file: /etc/pulse/daemon.conf ###
daemonize = no
fail = yes
high-priority = yes
nice-level = -11
realtime-scheduling = yes
realtime-priority = 5
allow-module-loading = yes
allow-exit = yes
use-pid-file = yes
system-instance = no
local-server-type = user
cpu-limit = no
enable-shm = yes
flat-volumes = no
rescue-streams = yes
lock-memory = no
exit-idle-time = 20
scache-idle-time = 20
dl-search-path = /usr/lib/pulse-13.99.1/modules
default-script-file = /etc/pulse/default.pa
load-default-script-file = yes
log-target = 
log-level = notice
resample-method = auto
avoid-resampling = no
enable-remixing = yes
remixing-use-all-sink-channels = yes
remixing-produce-lfe = no
remixing-consume-lfe = no
lfe-crossover-freq = 0
default-sample-format = s16le
default-sample-rate = 44100
alternate-sample-rate = 48000
default-sample-channels = 2
default-channel-map = front-left,front-right
default-fragments = 4
default-fragment-size-msec = 25
enable-deferred-volume = yes
deferred-volume-safety-margin-usec = 1
deferred-volume-extra-delay-usec = 0
shm-size-bytes = 0
log-meta = no
log-time = no
log-backtrace = 0
rlimit-fsize = -1
rlimit-data = -1
rlimit-stack = -1
rlimit-core = -1
rlimit-rss = -1
rlimit-as = -1
rlimit-nproc = -1
rlimit-nofile = 256
rlimit-memlock = -1
rlimit-locks = -1
rlimit-sigpending = -1
rlimit-msgqueue = -1
rlimit-nice = 31
rlimit-rtprio = 9
rlimit-rttime = 200000