Which Laptop are you using to host the VM?
You would need AppleALC.kext for the Realtek audio codec to have any chance of the built-in audio working.
you would need to add the AppleALC.kext to your /EFI/OC/Kexts folder and add a companion entry for the kext to the config.plist.
You will need to add an audio codec layout-id to your config.plist, as a boot argument is easiest 'alcid=1' for example.
The Realtek ALC257 codec seems to be found on Lenovo systems, it can work with these layout-ids.
11, 18, 86, 96, 97, 99, 100, 101
Latest AppleALC release linked below.
v1.9.3 Fix AMD HDA Controllers on macOS Sequoia by @Zormeister Added ALC892 layout-id 66 for MSI GE60 2OC/2OE/2OD by tsanie Added ALC294 layout-id 24 for Asus ROG Strix G512li by theroadw
github.com
Do not use AppleALCU.kext, as this is for newer systems with built-in USB audio devices.
USB Speakers usually work with the Apple provided kexts in macOS.
Some DAW's will require custom kexts/installation applications. These will be set by the DAW manufacturers.
- I use a number of USB speakers and none of them have ever required an additional kext, fix or patch to work in macOS. Going all the way back to Snow Leopard.
- But what you do need regarding the USB audio is a working custom USB configuration, i.e. custom USBMap or UTBMap.kext for your laptop.
- If the USB port used by the DAW isn't active and set with the correct connector type then it is unlikely the USB audio device will work.