On Fri, 24 Sep 2010, immanuel litzroth wrote:

> Hi,
> Does this address your problem?
> http://alsa.opensrc.org/index.php/MultipleCards

Note that the simplest way is to rename the card identifier using udev 
or a custom script at boot and do not mangle the slot indexes:

   ALSA: add /sys/class/sound/card#/id (r/w) and card#/number (r/o) files

http://git.alsa-project.org/?p=alsa-kernel.git;a=commit;h=9fb6198e8c574c6547fbfac0ae1eaf7894ddfdcc

The usage is just simple. Everywhere where card index can be used, the 
card name can be used too, for example:

aplay -D hw:0,0 ...

might be:

aplay -D hw:CARDID,0 ...

Someone should update the wiki to add this preferred possibility.

                                        Jaroslav

-----
Jaroslav Kysela <pe...@perex.cz>
Linux Kernel Sound Maintainer
ALSA Project, Red Hat, Inc.


------------------------------------------------------------------------------
Start uncovering the many advantages of virtual appliances
and start using them to simplify application deployment and
accelerate your shift to cloud computing.
http://p.sf.net/sfu/novell-sfdev2dev
_______________________________________________
Alsa-user mailing list
Alsa-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/alsa-user

Reply via email to