mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-11-25 09:00:22 +00:00
Meta: Lower QEMU DirectSound driver timer period to 2ms
10ms (the default) is ridiculous and causes all kinds of glitches if we actually want to have a low-latency queue. <https://gitlab.com/qemu-project/qemu/-/issues/1076#note_996636777> suggests 2ms (and no lower than 1ms). This improves audio glitch resistance at our current 512 sample buffer size, but going lower is still not possible.
This commit is contained in:
parent
6cf8eeb7a4
commit
bd1cecb991
Notes:
sideshowbarker
2024-07-17 20:19:08 +09:00
Author: https://github.com/kleinesfilmroellchen Commit: https://github.com/SerenityOS/serenity/commit/bd1cecb991 Pull-request: https://github.com/SerenityOS/serenity/pull/17633 Reviewed-by: https://github.com/supercomputer7 ✅
1 changed files with 1 additions and 1 deletions
|
@ -164,7 +164,7 @@ fi
|
|||
if [ "$(uname)" = "Darwin" ]; then
|
||||
SERENITY_AUDIO_BACKEND="-audiodev coreaudio,id=snd0"
|
||||
elif [ "$NATIVE_WINDOWS_QEMU" -eq "1" ]; then
|
||||
SERENITY_AUDIO_BACKEND="-audiodev dsound,id=snd0"
|
||||
SERENITY_AUDIO_BACKEND="-audiodev dsound,id=snd0,timer-period=2000"
|
||||
elif "$SERENITY_QEMU_BIN" -audio-help 2>&1 | grep -- "-audiodev id=sdl" >/dev/null; then
|
||||
SERENITY_AUDIO_BACKEND="-audiodev sdl,id=snd0"
|
||||
else
|
||||
|
|
Loading…
Reference in a new issue