comment about Raspberry Pi 4 having two HDMI ports

The if-endif block below around the amixer call fixes
https://github.com/respeaker/seeed-voicecard/issues/239
https://github.com/respeaker/seeed-voicecard/issues/240
https://github.com/respeaker/seeed-voicecard/issues/243
This commit is contained in:
Hin-Tak Leung 2020-09-10 23:18:08 +01:00
parent 783eff8779
commit a5095cd7b2

View file

@ -150,6 +150,12 @@ fi
alsactl restore alsactl restore
#Force 3.5mm ('headphone') jack #Force 3.5mm ('headphone') jack
# The Raspberry Pi 4, released on 24th Jun 2019, has two HDMI ports,
# and can drive two displays with audios for two users simultaneously,
# in a "multiseat" configuration. The earlier single virtual ALSA
# option for re-directing audio playback between headphone jack and HDMI
# via a 'Routing' mixer setting was turned off eventually to allow
# simultaneous usage of all 3 playback devices.
if aplay -l | grep -q "bcm2835 ALSA"; then if aplay -l | grep -q "bcm2835 ALSA"; then
amixer cset numid=3 1 || true amixer cset numid=3 1 || true
fi fi