On 2022-05-01, Grant Edwards <grant.b.edwa...@gmail.com> wrote:

> On Gentoo, with OpenRC, how do you configure the default board/device
> for ALSA?
>
> I've asked Google, and all the links it comes up with are for sites
> that are broken because of PHP or database failures (e.g. wiki.gentoo.org
> and forums.gentoo.org).
>
> The usual fallback is wiki.archlinux.org, but its instructions to
> place the following in /etc/asound.conf or ~/.asoundrc doesn't work:
>
>     defaults.pcm.card 1
>     defaults.ctl.card 1

wiki.gentoo.org is back, and it says to use something like this in 
/etc/asound.conf
or ~/asoundrc:

    defaults.pcm.!card 1
    defaults.pcm.!device 0
    defaults.ctl.!card 1

That also does nothing. Using card names as shown at
https://wiki.gentoo.org/wiki/ALSA#Files also does nothing.

Yes, I'm restarting alsasound after changing /etc/asound.conf

The only way I can get sound is to specify the card using -D with
aplay, or using -ao alsa:device= with mplayer, or by manually choosing
the correct output device in VLC.



Reply via email to