I got this all working. See this thread:
https://www.raspberrypi.org/forums/v...47994#p1147994
This was taken from the thread above:
Code:
pcm.!default {
type plug
slave.pcm "speakerphat"
}
ctl.!default {
type hw card 0
}
pcm.speakerphat {
type softvol
slave.pcm "plughw:0"
control.name "Master"
control.card 0
}
Note that usually control.card, hw card, and the plughw number should be the same index number. Also the name speakerphat can be anything you want. You might also want to specify the full card address with a comma and then the sub-device behind the plughw index number.