summaryrefslogtreecommitdiff
path: root/Meta/run.sh
diff options
context:
space:
mode:
authorJelle Raaijmakers <jelle@gmta.nl>2021-11-23 01:15:05 +0100
committerAndreas Kling <kling@serenityos.org>2021-11-23 10:06:24 +0100
commit9d8a566d8325af3171216fcbb38c1debda155a22 (patch)
treef9995748140e5e2ab5f9f17ba436921cd459ad59 /Meta/run.sh
parent03329bbfa51f2c0cf24d7374efcdc43eb4979633 (diff)
downloadserenity-9d8a566d8325af3171216fcbb38c1debda155a22.zip
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.
Diffstat (limited to 'Meta/run.sh')
-rwxr-xr-xMeta/run.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/Meta/run.sh b/Meta/run.sh
index c4dd41a536..acc291ab7b 100755
--- a/Meta/run.sh
+++ b/Meta/run.sh
@@ -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