I’m new to linux so take what i say with a grain of salt (and sorry for my bad english, it’s not my main language).
I encountered this problem multiple times and i tried to fix it in every possible ways from changing alsa config to use rt kernels, even change from pipewire to pulseaudio and nothing worked, this guide is the only fix that actually worked for me (regarding wine games crackling), i have another audio problem, on youtube (only in 4K content) the audio crackles very badly and the only way that fixed it is to change the sample rate to 192000 Hz in the pipewire.conf file (tried wireplumber but only makes it worst), if anyone had this kind of problem try this fix that i did:
Copy pipewire config folder to .config/pipewire (if pipewire folder doesn’t exist in .config create it using mkdir or a file manager)
mkdir ~/.config/pipewire (in case the folder don’t exist)
cp /usr/share/pipewire/*.conf ~/.config/pipewire
edit the file “pipewire.conf”:
default.clock.rate = 192000
save the edit and restart pipewire
systemctl --user restart wireplumber pipewire pipewire-pulse
Hope this will fix your audio on youtube!