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:
- pcm.speakerbonnet {
- type hw card 0
- }
- pcm.dmixer {
- type dmix
- ipc_key 1024
- ipc_perm 0666
- slave {
- pcm "speakerbonnet"
- period_time 0
- period_size 1024
- buffer_size 8192
- rate 44100
- channels 2
- }
- }
- ctl.dmixer {
- type hw card 0
- }
- pcm.softvol {
- type softvol
- slave.pcm "dmixer"
- control.name "PCM"
- control.card 0
- }
- ctl.softvol {
- type hw card 0
- }
- pcm.!default {
- type plug
- slave.pcm "softvol"
- }
When I set the volume at max I can hear some noise comming out from the speakers. Except that, there is no sound.