We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ae22c2e commit 4757ca2Copy full SHA for 4757ca2
1 file changed
rootfs/etc/cont-init.d/pulse-config.sh
@@ -6,15 +6,9 @@ declare tsched
6
readonly ALSA_CARDS="$(aplay -l)"
7
8
# RaspberryPi
9
-if echo "${ALSA_CARDS}" | grep -q "\[bcm2835 ALSA\]"; then
+if echo "${ALSA_CARDS}" | grep -q "\[bcm2835 .*\]"; then
10
bashio::log.info "Found RaspberryPi system"
11
tsched=false
12
-
13
-# Odroid N2
14
-elif echo "${ALSA_CARDS}" | grep -q "\[G12B-ODROID-N2\]"; then
15
- bashio::log.info "Found Odroid N2 system"
16
- tsched=false
17
18
else
19
tsched=true
20
fi
0 commit comments