Have you ever use Haiku OS? I follow this project closely since Beta1. While I love to listen to music, I did not pay attention to sound in Haiku OS until now when I want to check whether I can use the browser (Web - Epiphany) to listen to Youtube. To this end, I’ve used some parameters in QEMU. This is how I run QEMU so that my Haiku OS (Beta4) recognized my sound device:
$ qemu-system-x86_64 haiku-beta4.qcow2 -m 4096 --enable-kvm --usb -device usb-tablet -nic user -audiodev pa,id=pa,server=unix:{$XDG_RUNTIME_DIR}/pulse/native,out.stream-name=foobar,in.stream-name=foobar -device intel-hda -device hda-duplex,audiodev=pa,mixer=off -rtc base=localtime,clock=host -smp 16 -vga virtio
$
Voila! now I can listen to my favourite songs from Haiku OS! (not smooth - probably because of my limited RAM allocation, but I think it’s quite good).