mirror of
https://github.com/legop3/MultiRoombaRover.git
synced 2026-09-17 01:50:47 -04:00
beoke
This commit is contained in:
@@ -185,6 +185,11 @@ install_audio_support() {
|
|||||||
else
|
else
|
||||||
log "WARNING: pi/asound.conf missing; skipping ALSA config install"
|
log "WARNING: pi/asound.conf missing; skipping ALSA config install"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
if [[ "${alsa_reload_notice:-0}" -eq 1 ]]; then
|
||||||
|
log "ALSA config updated; reboot recommended for overlay + audio changes"
|
||||||
|
fi
|
||||||
|
|
||||||
log "Installing TTS/audio packages (flite, espeak)..."
|
log "Installing TTS/audio packages (flite, espeak)..."
|
||||||
# check for flite and espeak before installing, and then install them if either is missing
|
# check for flite and espeak before installing, and then install them if either is missing
|
||||||
if command -v flite >/dev/null 2>&1 && command -v espeak >/dev/null 2>&1; then
|
if command -v flite >/dev/null 2>&1 && command -v espeak >/dev/null 2>&1; then
|
||||||
@@ -194,9 +199,6 @@ install_audio_support() {
|
|||||||
|
|
||||||
apt-get update
|
apt-get update
|
||||||
apt-get install -y --no-install-recommends flite espeak
|
apt-get install -y --no-install-recommends flite espeak
|
||||||
if [[ "${alsa_reload_notice:-0}" -eq 1 ]]; then
|
|
||||||
log "ALSA config updated; reboot recommended for overlay + audio changes"
|
|
||||||
fi
|
|
||||||
}
|
}
|
||||||
|
|
||||||
# Install video publisher assets
|
# Install video publisher assets
|
||||||
|
|||||||
Reference in New Issue
Block a user