mirror of
https://github.com/OpenVoiceOS/OpenVoiceOS
synced 2025-06-05 22:19:21 +02:00
Fix mistake in dynamically loading pulseaudio configuration.
This commit is contained in:
@ -80,16 +80,16 @@ if [ "$overlay" ]; then
|
|||||||
|
|
||||||
# Make sure the driver loads correctly
|
# Make sure the driver loads correctly
|
||||||
dtoverlay -d $OVERLAYS $overlay || true
|
dtoverlay -d $OVERLAYS $overlay || true
|
||||||
|
|
||||||
# Install soundstate
|
|
||||||
echo "create $overlay asound status file"
|
|
||||||
ln -s $asound_state /etc/voicecard/asound.state
|
|
||||||
|
|
||||||
# Install pulseaudio files
|
|
||||||
echo "create $overlay pulse system file"
|
|
||||||
ln -s $pulse_default /etc/pulse/system.pa
|
|
||||||
echo "create $overlay pulse daemon file"
|
|
||||||
ln -s $pulse_daemon /etc/pulse/daemon.conf
|
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
# Install soundstate
|
||||||
|
echo "create $overlay asound status file"
|
||||||
|
ln -s $asound_state /etc/voicecard/asound.state
|
||||||
|
|
||||||
|
# Install pulseaudio files
|
||||||
|
echo "create $overlay pulse system file"
|
||||||
|
ln -s $pulse_default /etc/pulse/system.pa
|
||||||
|
echo "create $overlay pulse daemon file"
|
||||||
|
ln -s $pulse_daemon /etc/pulse/daemon.conf
|
||||||
|
|
||||||
alsactl -E HOME=/run/alsa -f /etc/voicecard/asound.state restore
|
alsactl -E HOME=/run/alsa -f /etc/voicecard/asound.state restore
|
||||||
|
Reference in New Issue
Block a user