CM3-Panel-7-poe technical documentation

Configuration and testing chip audio

Edit file:

$ sudo nano /etc/asound.conf

Contents:

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

Type:

$ sudo reboot
$ sudo apt install mplayer
$ aplay -l

Result:

**** List of PLAYBACK Hardware Devices ****
card 0: sndrpihifiberry [snd_rpi_hifiberry_dacplus], device 0: HiFiBerry DAC+ Pro HiFi pcm512x-hifi-0 [HiFiBerry DAC+ Pro HiFi pcm512x-hifi-0]
  Subdevices: 1/1
  Subdevice #0: subdevice #0

Create directory /home/pi/app/audio and copy file MP3.

$ mkdir /home/pi/app/audio

Run Player examples :

$ mplayer nomefile.mp3

CM3-Panel-7-poe technical documentation