SerenityOS/serenity

Intel HDA on QEMU Windows regularly skips ahead in audio

Open

#18,132 建立於 2023年4月1日

在 GitHub 查看
 (4 留言) (0 反應) (0 負責人)C++ (33,171 star) (3,328 fork)batch import
bughelp wanted

描述

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.

貢獻者指南

Intel HDA on QEMU Windows regularly skips ahead in audio · SerenityOS/serenity#18132 | Good First Issue