This problem is really exhausting because it happens to me all the time, but I believe that it will only be solved if someone legally sues Apple for negligence or someone sympathize with our requests. I waited months for an update to fix this problem, but not even the Big Sur last release fixed my problem.
Anyway, you can add the code below to your .zshrc or .bashrc:
Code Block alias fix-damn-audio="xcrun simctl shutdown all && sudo killall coreaudiod" |
and when the problem occurs you just call in the terminal:
Code Block fix-damn-audio |
You can change the name of the alias as you like.
Good luck to all of us