When playing, some sound effects will suddenly not play after a few minutes, and a few moments later no sound will play at all. It appears that the sound stops working after a certain number of sound effects are played, e.g. in environments with lots of sounds, for example when mining or near a mob farm, the sound will stop working earlier.
The sounds start working again when saving the world and returning to the menu or whe restarting the game.
The issue persists after updating Java to the newest version 8/311.
Did you change sound outputs when this happened?