[linux-audio-user] tell ALSA to use secondary card (on USB) instead of primary

Florin Andrei florin at andrei.myip.org
Thu Sep 14 13:45:43 EDT 2006


On Wed, 2006-09-13 at 23:06 -0700, Florin Andrei wrote:

> But I'd like to use this "card" also for the Flash plugin in Firefox
> (wrapped in aoss), and for Xine. Ideally, I'd like all ALSA applications
> under this user account to use the USB amp instead of the primary card.
> 
> I'm pretty sure there has to be a way to configure ALSA to direct all
> apps to the second card by default, but I can't seem to figure out how.
> Any suggestion is appreciated.

Thanks everyone!
I created this file and everything works just fine now:

$ cat ~/.asoundrc
defaults.pcm.card 1
defaults.ctl.card 1

-- 
Florin Andrei

http://florin.myip.org/





More information about the Linux-audio-user mailing list