On windows 11, this was resolved by disabling the audio enhancements option found at Settings->System->Sound->(Specific audio device)->Properties.
My audio device is the default Realtek(R) Audio device provided by my built in drivers (ver. 6.0.9689.1).
Minecraft version 1.21.1, tested on complete vanilla.
Obviously this is not a complete solution but hopes this helps point developers in the right direction.
On windows 11, this was resolved by disabling the audio enhancements option found at Settings->System->Sound->(Specific audio device)->Properties.
My audio device is the default Realtek(R) Audio device provided by my built in drivers (ver. 6.0.9689.1).
Minecraft version 1.21.1, tested on complete vanilla.
Obviously this is not a complete solution but hopes this helps point developers in the right direction.