Skip to content

Commit

Permalink
Don't reload Pulseaudio
Browse files Browse the repository at this point in the history
The necessary modules get reloaded by Supervisor now.
  • Loading branch information
agners committed Oct 18, 2023
1 parent 6b4d927 commit 7ed52d8
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions rootfs/etc/s6-overlay/s6-rc.d/alsa/run
Original file line number Diff line number Diff line change
Expand Up @@ -13,15 +13,9 @@ while read -r line; do

# Run our soundconfig
soundconfig "${control}"
elif [[ "${line}" =~ remove.*(controlC[0-9]) ]]; then
control=${BASH_REMATCH[1]}
bashio::log.info "Remove ALSA mixer: ${control}"
else
bashio::log.debug "Skip ${line}"
continue
fi

# Restart PulseAudio
s6-svc -wR -r "/run/service/pulseaudio"

done < <(udevadm monitor --subsystem-match=sound)

0 comments on commit 7ed52d8

Please sign in to comment.