Why is sound not working in VMWare?

Recently, the sound stopped working in all virtual machines installed on VMWare Workstation Pro. On the host with Windows 10 and in VirtualBox, the sound works fine.
When I try to turn on the sound card in the virtual machine, I get the following:

Error toggling removable device: The default sound device cannot be opened:
A device ID has been used that is out of range for your system.
Virtual device sound will start disconnected.

What I tried:

  1. Updated to version 17.6.4 (I have 17.6.3).
  2. Turned on the stereo mixer.
  3. Uninstalled OpenAL (it seems to be important for some old games to work on the host) and all the drivers for sound from the smartphone, tablet and headphones.
  4. Updated the drivers for sound.
  5. Specified the sound card in specify host sound card.
  6. Edited the VMX file.

Nothing helped.

Realtek High Definition Audio sound card.

Interestingly, if I enable multiple streams in the B&O Play Audio Control app (I have an HP laptop), and then select HD Audio 2nd output in the virtual machine settings (my headphones are connected via an analog jack), the sound works:

Video

But since you can’t sit in headphones for a long time, I would like to know why this happened? Can the B&O Play Audio Control update help? Where can I download it?

What should I do next?