Volume for Pirate Audio: Headphone Amp for Raspberry Pi

Hi Björn (me again):

try this asound.conf:

pcm.!default  {
 type hw card 0
}
ctl.!default {
 type hw card 0
}
pcm.!default {
        type plug
        slave.pcm “softvol”
}
pcm.softvol {
        type softvol
        slave {
                pcm “dmix”
        }
        control {
                name “Amp”
                card 0
        }
        min_dB -5.0
        max_dB 20.0
        resolution 6
}

And skip pulse-audio (the pa-stuff). This is pure alsa-level (like aplay). This configuration creates a mixer device.