Adding a virtual sound device to ESXi

      No Comments on Adding a virtual sound device to ESXi

While i want to stream audio and video from my Commodore 64, actually an Ultimate64, i stumbled across the absence of audio on a virtual machine running on my lab system.

Essentially i needed to manually edit the VM context. Following this procedure:

  • Make sure that the VM is in a powered off state
  • Browse to the data store where the VM resides
  • Download the <InsertVirtualMachineName>.VMX file
  • Edit file by adding the undermentioned lines to the end of the file
  • Upload the file again to the same spot in the data store
  • Start up the VM again
sound.present = "true"
sound.allowGuestConnectionControl = "true"
sound.virtualDev = "hdaudio"
sound.fileName = "-1"
sound.autodetect = "true"
sound.pciSlotNumber = "34"

Now the VM is able to play audio and in my case also record/stream audio to my Twitch channel.

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.