'Twas brillig, and Ng Oon-Ee at 11/02/10 00:57 did gyre and gimble: > I think I'm missing something important in the config/man files, but is > it possible to basically say "when a new device/card is loaded, make it > default"? > > So, for example, I have music playing through my internal sound card. I > turn on my BT headset, some streams will move there (because I > previously sent them there) but others will not (because I haven't, or > perhaps because event sounds currently can't be moved, yet). > > If its possible to say "when a new sink is loaded, make it default", > everything would move there, unless its been specifically assigned. This > would also help in module-jack-sink/source, because currently everything > which is currently playing is corked on the internal sound card because > JACK has taken control of it. > > Of course, I know this cannot be the default. Just wondering if there's > an option for it, or perhaps somewhere I can dump user-scripts to > accomplish this (by running on detecting certain events), udev perhaps? Short answer: nope it's not possible. Long answer: Wait a little while and watch my blog as I've half written a post on this general topic already. Ultimately I want to do the work to fix this general problem and make everyone happy. I just have to convince Lennart that the concept of picking a role-based restore rule and sticking to it is not that great when we get to the zenith of having all streams packed with as much metadata as possible.... See the thread: "RFC stream-restore save_sink|source flag reset & more musings on device selection." for some musings on this. Col -- Colin Guthrie gmane(at)colin.guthr.ie http://colin.guthr.ie/ Day Job: Tribalogic Limited [http://www.tribalogic.net/] Open Source: Mandriva Linux Contributor [http://www.mandriva.com/] PulseAudio Hacker [http://www.pulseaudio.org/] Trac Hacker [http://trac.edgewall.org/]