The most seemingly contemporary answer I've found on modern Raspbian ALSA config was here:
http://raspberrypi.stackexchange.com/qu ... 0832#40832
I have no idea where @Housni read about the slots option being needed for recent versions of Raspbian, though.
It seems that ALSA on Raspberry Pi is a bit funny and I don't see any official docs that are relevant to non-standard audio anywhere (just directions on HDMI or the PWM outputs). I have looked at MANY websites, including raspi forums, this SE site, Adafruit, and the ALSA docs.
My situation:
- I can set my USB device to default for alsa, as either device 0 or 1, except...
.asoundrc gets regenerated each login to LXDE/PIXEL. Somehow it knows where the built-in device is and selects that card. Doesn't matter if a good .asoundrc was there vs. no such file.
So, by default, I get the built-in sound on the command line after login, but I can edit/delete .asoundrc and everything's fine on the CLI.
The GUI (e.g., pimixer aka "Audio Device Manager") ONLY seems to see the built-in audio. The USB card is visible via e.g., aplay -l, but not in the pimixer drop-down.
As far as I can tell, this issue could reside in
- LXDE,
- PIXEL LXDE mods,
- Gstreamer,
- the XFCE4 mixer settings (pimixer related stuff).
I trashed my .config directory, disabled internal audio, and set the global asound.conf in both /etc and also /usr/share/alsa. None of this gets the USB audio in the GUI. If I disable internal audio, pimixer says "No ALSA audio devices were detected." (aplay -l still shows my USB device - a Blackjack Onyx.)
I've verified that there's no problem with Ubuntu MATE (which uses PulseAudio), but their version of Chromium doesn't play audio!
So, what is generating that .asoundrc?
What sound framework is Chromium talking to?
