Replies: 2 comments 2 replies
-
I don't think there is any sound support in the default setup, so it would have to be added as an option first. $ qemu-system-x86_64 -soundhw help
Valid sound card names (comma separated):
sb16 Creative Sound Blaster 16
es1370 ENSONIQ AudioPCI ES1370
ac97 Intel 82801AA AC97 Audio
adlib Yamaha YM3812 (OPL2)
gus Gravis Ultrasound GF1
cs4231a CS4231A
hda Intel HD Audio
pcspk PC speaker
-soundhw all will enable all of the above
$ qemu-system-aarch64 -soundhw help
Valid sound card names (comma separated):
es1370 ENSONIQ AudioPCI ES1370
ac97 Intel 82801AA AC97 Audio
hda Intel HD Audio
-soundhw all will enable all of the above There is a newer I believe you want the "coreaudio" output device, for Mac ?
Then once you have audio working in the VM, you need to map all the required volumes (for PA) into the container. https://github.com/mviereck/x11docker/wiki/Container-sound:-ALSA-or-Pulseaudio |
Beta Was this translation helpful? Give feedback.
-
For testing you could try: QEMU_SYSTEM_X86_64="qemu-system-x86_64 -device intel-hda -device hda-output,audiodev=coreaudio" limactl start Then check if the audio device has been created, and try to setup PA. If this works, then we can discuss providing an option to configure this, or add it by default (if the cost to do so is low). |
Beta Was this translation helpful? Give feedback.
-
Hello would like to ask , how can i connect lima containers to default mac os audio so i can use pulseaudio on the container.
i am developing ubuntu touch apps using lima can't run desktop mode because it looks for pulse audio . then when i install pulseaudio it still error i think because pulseaudio is not routed to sound driver from mac .
Beta Was this translation helpful? Give feedback.
All reactions