Ok, i’ve got a cheap china-town USB dac, try the following:
Disable onboard rpi card/modules, frees up some memory:
/DietPi/dietpi/func/dietpi-set_hardware soundcard none
We also need to enable dtparam=audio=on, for any soundcard on RPi:
sed -i '/dtparam=audio=/c\dtparam=audio=on' /DietPi/config.txt
Reboot:
reboot
Set asound.conf (click link to view all, then copy and paste all into SSH term)
http://pastebin.com/3RdmpAfZ
Run basic sound test:
speaker-test -c2 -r 44100
If errors and no sound, try:
speaker-test -c2 -r 44100 -D hw:0,0
Then report back with results and we’ll go on from there.