Re: [Alsa-user] Switch default card

2009-10-09 Thread Alessandro Massignan
Hi, > You can look at alsa hooks, a runtime configuration function that will > be called when a USB soundcard is plugged. Ouch! I give a try! :-) > In this function you can change the default soundcard. Unfortunately i > never used them. Nevermind and thanks for suggestion... I'll tell you if i s

Re: [Alsa-user] Switch default card

2009-10-09 Thread Dino Puller
2009/10/8 Alessandro Massignan : > Hi Dino, > > thanks for reply! :-) > >> I think that udev can does this job: >>    http://alsa.opensrc.org/index.php/Udev > Mmmh, i was wondering if any asoundrc's magic could do this job... > Maybe I explained the problem in a very dirty way; what i think is to >

Re: [Alsa-user] Switch default card

2009-10-08 Thread Alessandro Massignan
Hi Dino, thanks for reply! :-) > I think that udev can does this job: >    http://alsa.opensrc.org/index.php/Udev Mmmh, i was wondering if any asoundrc's magic could do this job... Maybe I explained the problem in a very dirty way; what i think is to have a "default" card configured (in normal la

Re: [Alsa-user] Switch default card

2009-10-08 Thread Dino Puller
I think that udev can does this job: http://alsa.opensrc.org/index.php/Udev 2009/10/8 Alessandro Massignan : > Hi all, > > is there a method to switch an USB card as default (card 0) when i plug it? > I've a laptop with internal card and when i plug an USB card i wish that all > running applic

[Alsa-user] Switch default card

2009-10-08 Thread Alessandro Massignan
Hi all, is there a method to switch an USB card as default (card 0) when i plug it? I've a laptop with internal card and when i plug an USB card i wish that all running applications output sound to the USB card (without restarting them) and when i disconnect it the sound come back to internal card