Playing on windows or joiplay?
windows
The problem has been resolved.
Most likely, the game engine can't handle a sampling rate higher than 96,000 Hz. If you set it higher, constant glitches begin.