Skip to content

Commit

Permalink
desktop: fix sound crackle with speech-dispatcher
Browse files Browse the repository at this point in the history
  • Loading branch information
shagu committed Jul 27, 2021
1 parent f873b15 commit f5aa143
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions arch-install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -691,6 +691,14 @@ done
progress "Configure Desktop..."
if [ -f /mnt/etc/speech-dispatcher/speechd.conf ]; then
# Remove sound crackle while firefox is open and launched a speech-dispatcher session.
# Setting the output method to libao seems to be a workaround:
# https://www.reddit.com/r/archlinux/comments/4z2td2/speechdispatcher_makes_all_audio_crackle/
# https://bbs.archlinux.org/viewtopic.php?id=215987
sed -i 's/# AudioOutputMethod "pulse"/AudioOutputMethod "libao"/g' /mnt/etc/speech-dispatcher/speechd.conf
fi
case $DESKTOP in
"KDE")
mkdir -p /mnt/etc/sddm.conf.d/
Expand Down

0 comments on commit f5aa143

Please sign in to comment.