SmartestHome/hosts/audio-endpoint/rpi-image-gen/systemd/spotify-connect.service.d/10-alsa-device.conf

9 lines
507 B
Plaintext

# arm64-specific override for the shared spotify-connect.service (see
# hosts/audio-endpoint/configs/). The HiFiBerry Amp2 is the only ALSA card once
# onboard audio is disabled (config.txt.d/hifiberry-amp2.txt), so hw:0 is safe
# and deterministic here. The amd64 image ships with no equivalent override —
# a generic mini PC's USB DAC enumeration index isn't knowable in advance, see
# hosts/audio-endpoint/README.md's amd64 section for that one-time manual step.
[Service]
Environment=ALSA_DEVICE=hw:0