fluidsynth silent audio on startup fix
This commit is contained in:
parent
8222b4cb87
commit
98485a873b
1 changed files with 4 additions and 0 deletions
4
larbs.sh
4
larbs.sh
|
@ -219,6 +219,10 @@ sudo -u "$name" mkdir -p "/home/$name/.cache/zsh/"
|
|||
# dbus UUID must be generated for Artix runit.
|
||||
dbus-uuidgen > /var/lib/dbus/machine-id
|
||||
|
||||
# Fix fluidsynth/pulseaudio issue.
|
||||
grep -q "OTHER_OPTS='-a pulseaudio -m alsa_seq -r 48000'" /etc/conf.d/fluidsynth ||
|
||||
echo "OTHER_OPTS='-a pulseaudio -m alsa_seq -r 48000'" >> /etc/conf.d/fluidsynth
|
||||
|
||||
# Start/restart PulseAudio.
|
||||
killall pulseaudio; sudo -u "$name" pulseaudio --start
|
||||
|
||||
|
|
Loading…
Reference in a new issue