Re: alsa.card numbers versus pulseaudio index numbers

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Tom Horsley wrote:
> Clemens Ladisch wrote:
>> Don't use numbers but names.
>
> I spent several hours once trying to get:
>
> mplayer -vo gl_nosw -ao alsa:device=hw=0.1 -ac hwdts,hwac3,
>
> to use a name instead of the hw=0 stuff and nothing I tried
> was able to send sound out the optical output that
> device talks to. I've actually never seen an example
> anywhere on the web that describes exactly how to use
> a name instead of a number showing exactly what the
> number looks like first and exactly how to determine
> how to change that specific number into a name given
> the info in aplay -l or -L, etc.

The card number (0) can be replaced with the card ID, which is
the string in square brackets in /proc/asound/cards.  In your
case, it's probably "PCH" or "HDMI".


Regards,
Clemens

------------------------------------------------------------------------------
_______________________________________________
Alsa-user mailing list
Alsa-user@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/alsa-user



[Index of Archives]     [ALSA Devel]     [Linux Audio Users]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]

  Powered by Linux