0

PCM5100 no sound

Hi,

I'm trying to make an All-in-one board for a handheld retrogaming device that uses Retropie. As I want to have digital sound I use a PCM5100 chip as I2S decoder and later an APA2068 as amplifier.

In my config.txt file I have :

...

dtparam=i2s=on

...

dtoverlay=hifiberry-dac

dtoverlay=i2s-mmap

 

My /etc/asound.conf is as follows:

  1. pcm.speakerbonnet {
  2. type hw card 0
  3. }
  4.  
  5. pcm.dmixer {
  6. type dmix
  7. ipc_key 1024
  8. ipc_perm 0666
  9. slave {
  10. pcm "speakerbonnet"
  11. period_time 0
  12. period_size 1024
  13. buffer_size 8192
  14. rate 44100
  15. channels 2
  16. }
  17. }
  18.  
  19. ctl.dmixer {
  20. type hw card 0
  21. }
  22.  
  23. pcm.softvol {
  24. type softvol
  25. slave.pcm "dmixer"
  26. control.name "PCM"
  27. control.card 0
  28. }
  29.  
  30. ctl.softvol {
  31. type hw card 0
  32. }
  33.  
  34. pcm.!default {
  35. type plug
  36. slave.pcm "softvol"
  37. }

When I set the volume at max I can hear some noise comming out from the speakers. Except that, there is no sound.

0 comments

Please sign in to leave a comment.