Meta: Use 1ms timer period for Qemu Pulse Audio backend

The default seems to be 10ms and can result in a lot of crackling
noises in the output. A value of 1ms works well on my machine.
This commit is contained in:
Jelle Raaijmakers 2021-11-23 01:15:05 +01:00 committed by Andreas Kling
parent 03329bbfa5
commit 9d8a566d83
Notes: sideshowbarker 2024-07-18 00:49:50 +09:00

View file

@ -146,7 +146,7 @@ elif [ "$NATIVE_WINDOWS_QEMU" -eq "1" ]; then
elif "$SERENITY_QEMU_BIN" -audio-help 2>&1 | grep -- "-audiodev id=sdl" >/dev/null; then
SERENITY_AUDIO_BACKEND="-audiodev sdl,id=snd0"
else
SERENITY_AUDIO_BACKEND="-audiodev pa,id=snd0"
SERENITY_AUDIO_BACKEND="-audiodev pa,timer-period=1000,id=snd0"
fi
if [ "$installed_major_version" -eq 5 ] && [ "$installed_minor_version" -eq 0 ]; then