Hi ,
I have the same damn problem for long time with 16" macbook pro 2019. Just like everyone else here, I am very angry at apple because they haven't fix this since decades. Other than that, the solution that worked for me for some time is the command below. I suggest everyone to try this. It doesn't fix it permanently but it is easy to do
sudo launchctl stop com.apple.audio.coreaudiod && sudo launchctl start com.apple.audio.coreaudiod