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):
Now, follow these few lines:
However, if arecord -l gives you:
card 1: sndrpihifiberry [snd_rpi_hifiberry_dacplusadc]
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.