I noticed another thread where you said you are now using Windows 11.
Has this been happening since then, and could it be related to that somehow?
Perhaps usb or soundcard drivers have changed, different behaviour of security software, whatever?
(I am guessing you already checked buffer settings in MusicBee?)