Sound on internal speakers stops working on MacBook Pro
This is not caused by any of the obvious things (accidentally muting, sound turned down, wrong device selected, etc.), and does not affect the earphones (which work if I test by plugging them in when I’m having the problem; when they’re then unplugged, the speakers continue to be silent even though the audio program material is still running). In System Preferences, everything looks fine (same as when it’s working properly), and switching back and forth between devices doesn’t fix it, nor does changing the volume or toggling mute. It always returns to working properly after a system restart, but the problem is frequent enough (every few days) that I’d like to find the cause of the problem and fix it permanently rather than have to apologize to clients. Latest OS, no other apps running (that is, other than whatever app the audio is coming from). P.S. This also happened regularly on the previous Mac, an Air (I forget what year, but bought in 2015 or after).
MacBook Pro (2020 and later)