Sound on the RasperryPI

as of 2020 using the “HiFiBerry DAC+ Pro XLR” on raspbian using the HiFiBerry config docs

  • remove dtparam=audio=on from /boot/config.txt if it exists.
  • add dtoverlay=hifiberry-dacplus to /boot/config.txt
  • edit /etc/asound.conf

pcm.!default {
  type hw card 0
}
ctl.!default {
  type hw card 0
}

  • test with aplay -l

audio/DAC options for raspberry pi

list of USB/DAC supported by picore