SerenityOS/serenity

Intel HDA on QEMU Windows regularly skips ahead in audio

开放

#18,132 创建于 2023年4月1日

 (4 条评论) (0 个反应) (0 位负责人)C++ (3,328 个派生)batch import
bughelp wanted

仓库指标

星标
 (33,171 个星标)
PR 合并指标
 (平均合并 5天 11小时) (30 天内合并 35 个 PR)

描述

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.

贡献者指南