I had a similar problem with a USB card.
At first neither my USB attached mic or speakers worked.
Then I checked what devices I had using
$ aplay –l
The command the shows the RPI default card as 0 and the USB device as 1
So I put the following in my config file:
Note I have Card 1 not 0
After that aplay and a record worked fine through the USB device, but when I installed Espeak it stubbornly refused to find the USB device, gave errors and sent the output through the on-board sound output.
Does anyone know how to fix this, all the discussions I have found so far suggest card 0 might be hard coded into espeak.
Pi A's, Bs, 2s, 3s & zeros 's in Birdboxes, Chess Sets, games, RuneAudio servers Arduinos everywhere else