Same thing happend to me
I've been reading comments and it looks like mainly realtek audio is being affected.
I found a solution.
Go to the searchbar on the bottom and search services and click on the app.
Then scroll all the way down to windows audio, right click and select restart.
This should fix the problem but it's not a permanent solution so the issue will come back the next time you boot up minecraft.
Try to restart the launcher or the computer.
One and a half years have passed and it’s STILL NOT FIXED???