Files
Josh Guyette 80d3e749a8 audio: steadier HDA playback on a busy Mac
Three changes, based on OmacVM's patches (MIT,
github.com/gillesgoetsch/OmacVM, PR #93):

- system/main.c: on macOS the main loop thread asks for user-interactive
  QoS. It feeds the HDA DMA timer and the audio timer and runs virgl; at
  the default QoS it waits behind the vCPU threads, so the sound breaks up.
  QEMU_MAIN_LOOP_QOS=default keeps the old behaviour.
- hda-codec: on a full output ring, keep the queued samples and only reset
  the catch-up debt, instead of dropping the whole 8 KB buffer (~42 ms).
- hda-codec: pacing (new "pace" property, on by default). After a stalled
  main loop, take the guest's audio at most 1/32 faster than real time
  instead of all at once.

Assisted-by: Claude:claude-opus-5-5
Signed-off-by: Josh Guyette <[email protected]>
2026-11-10 09:47:04 -08:00
..
2024-12-20 17:44:56 +01:00
2025-01-09 18:16:24 +01:00
2024-12-20 17:44:56 +01:00
2025-01-29 11:43:04 -03:00
2026-07-26 18:22:11 -07:00