You can configure a virtual machine to use an ALSA sound card by modifying virtual machine settings.

Procedure

  1. Select the virtual machine and select VM > Settings.
  2. On the Hardware tab, select Sound Card.
  3. Select Connected and Connect at power on.
  4. Select Specify host sound card and select the ALSA sound card.
  5. If the ALSA sound card does not appear in the list, use the alsa-utils package to list the ALSA sound cards on the host system and select Specify host sound card again.
    For example: aplay -L
  6. Click OK to save your changes.