SerenityOS/serenity

Intel HDA on QEMU Windows regularly skips ahead in audio

Open

#18,132 opened on Apr 1, 2023

View on GitHub
 (4 comments) (0 reactions) (0 assignees)C++ (33,171 stars) (3,328 forks)batch import
bughelp wanted

Description

The exact skipping behaviour observed here is not short stops in audio playback, but the not-playing of certain parts of the audio, which happens semi-regularly. The audio is not "pausing", it is "skipping ahead".

Parameters that, as far as has been tested, do not affect this behaviour:

  • HDA stream buffer size (40 to 400ms tested)
  • QEMU DirectSound timer interrupt (2ms to 40ms tested including the recommended default of 10ms)

As far as known, this issue is specific to QEMU on Windows and the DirectSound audio backend. It is NOT (only) a general issue with DirectSound, as AC'97 does not have this problem under identical backend settings.

Contributor guide