SmartestHome/hosts/audio-endpoint/rpi-image-gen/config.txt.d/hifiberry-amp2.txt

15 lines
757 B
Plaintext

# HiFiBerry Amp2 — appended to /boot/firmware/config.txt (current Raspberry Pi OS
# location, not the old /boot/config.txt) by the arm64 build tooling.
#
# dtoverlay value is from HiFiBerry's own current docs, grouped under "DAC+
# Standard/Amp2/Amp4" — still worth confirming against your specific board
# revision before first boot, see hosts/audio-endpoint/README.md.
dtoverlay=hifiberry-dacplus
# Disables the Pi's onboard audio so the HiFiBerry becomes the only ALSA card —
# and therefore predictably `hw:0`, which is what spotify-connect.service.d/
# 10-alsa-device.conf pins ALSA_DEVICE to. Without this line, onboard audio and
# the HiFiBerry would both be present and enumeration order would decide which
# one is card 0.
dtparam=audio=off