diff options
author | Jelle Raaijmakers <jelle@gmta.nl> | 2021-11-23 10:31:43 +0100 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2021-11-23 10:35:00 +0100 |
commit | 69a7ffa1745538dcd41fb246da694cef98e64fe0 (patch) | |
tree | bf288f1afbdbd5e4f26458a3b1e211679bb806f9 /Meta | |
parent | 9d8a566d8325af3171216fcbb38c1debda155a22 (diff) | |
download | serenity-69a7ffa1745538dcd41fb246da694cef98e64fe0.zip |
Meta: Increase PulseAudio timer period to 2ms
This seems to prevent crackling audio when starting up Qemu whenever
there is audio already playing.
Diffstat (limited to 'Meta')
-rwxr-xr-x | Meta/run.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Meta/run.sh b/Meta/run.sh index acc291ab7b..e5bf93565d 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,timer-period=1000,id=snd0" + SERENITY_AUDIO_BACKEND="-audiodev pa,timer-period=2000,id=snd0" fi if [ "$installed_major_version" -eq 5 ] && [ "$installed_minor_version" -eq 0 ]; then |