From 01dc355d74f91e75c47af916e82b4bf76fa3615b Mon Sep 17 00:00:00 2001 From: Anees Iqbal Date: Tue, 24 Nov 2026 01:03:45 -0800 Subject: [PATCH] :bug: Move QEMU to dsound playback past the write cursor On a Windows host, an x86-64 macOS guest's sound clicked 111 times a minute at rest and 172 times busy, measured from the host's output with WASAPI loopback while the guest played a steady tone. QEMU's dsound backend wrote the guest's audio behind DirectSound's write cursor, whenever the guest's periods came late enough to leave the buffer under ~31 ms ahead of the play cursor. DirectSound had already mixed that part of the buffer, so it played the audio from one turn of the buffer earlier. QEMU's dsound voice now writes only past the write cursor, with half its buffer in reserve. The output buffer's default is now 185.76 ms, so the reserve is 92.88 ms. reims-ctl's -audiodev is unchanged. --- vendor/qemu | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vendor/qemu b/vendor/qemu index 0c91b471f..0c0ac3569 160000 --- a/vendor/qemu +++ b/vendor/qemu @@ -1 +1 @@ -Subproject commit 0c91b471fd36969e4429035a53f2748ccd895892 +Subproject commit 0c0ac356981eb48c514006ffb4b14b6fb6b6b339