From c240a17bda3c2eaf716f7b1ef61dc73ef59dde11 Mon Sep 17 00:00:00 2001 From: Martin Wimpress Date: Mon, 4 Oct 2021 17:29:47 +0100 Subject: [PATCH] Correctly disable mixing-engine for audio output Add a note to the README that audio is not working at all on macOS Big Sur --- README.md | 2 ++ quickemu | 4 ++-- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 637ff67..2c8bbb8 100644 --- a/README.md +++ b/README.md @@ -186,6 +186,7 @@ There are some considerations when running macOS via Quickemu. * `vmxnet3` network device is used. * USB host pass-through is limited to UHCI (USB 2.0). * Display resolution can only be changed via macOS System Preferences. + * macOS Big Sur has no audio, but Full Duplex audio works on macOS Catalina is previous releases. * File sharing between guest and host is available via [virtio-9p](https://wiki.qemu.org/Documentation/9psetup). * **SPICE has limited supported on macOS**: * Copy/paste via SPICE agent is not available. @@ -434,6 +435,7 @@ Useful reference that assisted the development of Quickemu. General * [QEMU’s documentation!](https://qemu.readthedocs.io/en/latest/) + * * macOS * diff --git a/quickemu b/quickemu index d8b09fb..e0b1ac2 100755 --- a/quickemu +++ b/quickemu @@ -509,8 +509,8 @@ function vm_boot() { -device usb-kbd,bus=input.0 -device usb-tablet,bus=input.0 -device ${NET_DEVICE},netdev=nic -netdev ${NET},id=nic - -audiodev pa,id=pa,out.stream-name=${LAUNCHER}-${VMNAME},in.stream-name=${LAUNCHER}-${VMNAME} - -device intel-hda -device hda-duplex,audiodev=pa,mixer=off + -audiodev pa,id=audio0,out.mixing-engine=off,out.stream-name=${LAUNCHER}-${VMNAME},in.stream-name=${LAUNCHER}-${VMNAME} + -device intel-hda -device hda-duplex,audiodev=audio0 -rtc base=localtime,clock=host,driftfix=slew -spice ${SPICE} -device virtio-serial-pci