We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent db224c8 commit 2af51cfCopy full SHA for 2af51cf
1 file changed
scriptmodules/supplementary/audiosettings.sh
@@ -62,16 +62,16 @@ function _bcm2835_alsa_compat_audiosettings() {
62
local cmd=(dialog --backtitle "$__backtitle" --menu "Set audio output (ALSA - compat)" 22 86 16)
63
local hdmi="HDMI"
64
65
- # the Pi 4 has 2 HDMI ports, so number them
66
- isPlatform "rpi4" && hdmi="HDMI 1"
+ # the Pi 4/5 have 2 HDMI ports, so number them
+ (isPlatform "rpi4" || isPlatform "rpi5") && hdmi="HDMI 1"
67
68
local options=(
69
1 "Auto"
70
2 "Headphones - 3.5mm jack"
71
3 "$hdmi"
72
)
73
- # add 2nd HDMI port on the Pi4
74
- isPlatform "rpi4" && options+=(4 "HDMI 2")
+ # add 2nd HDMI port on the Pi 4/5
+ (isPlatform "rpi4" || isPlatform "rpi5") && options+=(4 "HDMI 2")
75
options+=(
76
M "Mixer - adjust output volume"
77
R "Reset to default"
0 commit comments