On Friday 31 March 2006 18:26, Niv wrote:
> [ device order changes at reboot ]
> # cat /proc/asound/cards
> 0 [V8237          ]: VIA8237 - VIA 8237
>                      VIA 8237 with CMI9761 at 0xe800, irq 11
> 1 [Bt878          ]: Bt87x - Brooktree Bt878
>                      Brooktree Bt878 at 0xe8101000, irq 11
> 2 [Audio          ]: USB-Audio - USB Audio
>                      C-Media INC. USB Audio at usb-0000:00:10.3-2, full
> speed
> 3 [Headset        ]: Bluetooth SCO - BT Headset
>                      BT Headset 1
> 4 [U0x46d0x8c5    ]: USB-Audio - USB Device 0x46d:0x8c5
>                      USB Device 0x46d:0x8c5 at usb-0000:00:10.4-1, high
> speed

An easy way to mend this is to create an asound.conf that refers to the names 
that show up in /proc/asound/cards. In your case the asound.conf looks like 
this:
   # CARD DEFINITIONS
   pcm.via       { type hw; card V8237 }
   ctl.via       { type hw; card V8237 }
   
   pcm.brooktee  { type hw; card Bt878 }
   ctl.brooktee  { type hw; card Bt878 }

   pcm.cmedia { type hw; card Audio }
   ctl.cmedia { type hw; card Audio }

   pcm.headset { type hw; card Headset }
   ctl.headset { type hw; card Headset }

   pcm.webcam { type hw; card U0x46d0x8c5 }
   ctl.webcam { type hw; card U0x46d0x8c5 }

Then you can just use these pcm definitions to access your different sound 
devices.

HTH,

Christoph


-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
Alsa-user mailing list
Alsa-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/alsa-user

Reply via email to