If everything goes well, you’ll need 30 minutes from scratch… (done here on a Pi4)
Burn your SD card with the following max2play image (beta):
https://www.max2play.com/en/max2play-image/
Now, follow these few lines:
https://www.hifiberry.com/docs/software/max2play-installation-and-configuration/
https://www.hifiberry.com/docs/software/integrate-analoge-audio-devices-into-your-multi-room-system/
However, if arecord -l gives you:
card 1: sndrpihifiberry [snd_rpi_hifiberry_dacplusadc]
instead of
card 0: sndrpihifiberry [snd_rpi_hifiberry_dacplusadc]
Modify the following 2 lines in an alsa.conf file which is located in /usr/share/alsa/alsa.conf
defaults.ctl.card 0 to defaults.ctl.card 1
defaults.pcm.card 0 to defaults.pcm.card 1
This will change the RPi built in input from card 0 to card 1 (much better to get some sound)
Chose your audio player and that's it!
No need to change the gain, everything is perfect.
Thanks HifiBerry!
Bernard