Meta: Increase PulseAudio timer period to 2ms
This seems to prevent crackling audio when starting up Qemu whenever there is audio already playing.
This commit is contained in:
parent
9d8a566d83
commit
69a7ffa174
Notes:
sideshowbarker
2024-07-18 00:49:46 +09:00
Author: https://github.com/gmta Commit: https://github.com/SerenityOS/serenity/commit/69a7ffa1745 Pull-request: https://github.com/SerenityOS/serenity/pull/11032
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue