Re: [pulseaudio-discuss] Changing default soundcard on attach/detach of soundcards

2010-07-16 Thread Marco Ballesio
Hi, On Thu, Jul 15, 2010 at 5:35 PM, Colin Guthrie gm...@colin.guthr.ie wrote: 'Twas brillig, and Colin Guthrie at 08/07/10 10:40 did gyre and gimble: 'Twas brillig, and Marco Ballesio at 08/07/10 09:37 did gyre and gimble: Hi, On Wed, Jun 16, 2010 at 10:59 AM, Colin Guthrie

Re: [pulseaudio-discuss] Changing default soundcard on attach/detach of soundcards

2010-07-16 Thread Colin Guthrie
'Twas brillig, and Marco Ballesio at 16/07/10 07:58 did gyre and gimble: Hi, On Thu, Jul 15, 2010 at 5:35 PM, Colin Guthrie gm...@colin.guthr.ie wrote: 'Twas brillig, and Colin Guthrie at 08/07/10 10:40 did gyre and gimble: 'Twas brillig, and Marco Ballesio at 08/07/10 09:37 did gyre and

Re: [pulseaudio-discuss] Changing default soundcard on attach/detach of soundcards

2010-07-16 Thread Jan Braun
Colin Guthrie schrob: 'Twas brillig, and Jan Braun at 15/07/10 06:07 did gyre and gimble: 1. Shouldn't PA do only obvious things automatically, and not bug the user about obvious things? The proposition PA automaticallly breaks stuff, so it needs to show the user how to unbreak it

Re: [pulseaudio-discuss] Changing default soundcard on attach/detach of soundcards

2010-07-16 Thread pl bossart
Well right now there are several projects (outside of my own) going on in this field, but there does seem to be a little bit of disparity with upstream people. One project specifically is coming from the ALSA side and will get support in PA. This project is very likely to become the defacto

Re: [pulseaudio-discuss] Changing default soundcard on attach/detach of soundcards

2010-07-16 Thread Mark Brown
On Fri, Jul 16, 2010 at 11:41:33AM -0500, pl bossart wrote: Well right now there are several projects (outside of my own) going on in this field, but there does seem to be a little bit of disparity with upstream people. One project specifically is coming from the ALSA side and will get

Re: [pulseaudio-discuss] Changing default soundcard on attach/detach of soundcards

2010-07-15 Thread Colin Guthrie
'Twas brillig, and Jan Braun at 15/07/10 06:46 did gyre and gimble: Colin Guthrie schrob: e.g. when a new BT Headset is discovered, module-intended-roles would basically check to see whether the device is already in the voip priority list and if not, it would inject it at the top, rather than

Re: [pulseaudio-discuss] Changing default soundcard on attach/detach of soundcards

2010-07-15 Thread Colin Guthrie
'Twas brillig, and Colin Guthrie at 08/07/10 10:40 did gyre and gimble: 'Twas brillig, and Marco Ballesio at 08/07/10 09:37 did gyre and gimble: Hi, On Wed, Jun 16, 2010 at 10:59 AM, Colin Guthrie gm...@colin.guthr.ie wrote: Now, incorporating what you suggest, I guess I have nothing against

Re: [pulseaudio-discuss] Changing default soundcard on attach/detach of soundcards

2010-07-14 Thread Jan Braun
Colin Guthrie schrob: 'Twas brillig, and Jeremy Nickurak at 16/06/10 16:04 did gyre and gimble: Does pulseaudio perhaps need to be throwing some visual indication to the user that streams switched devices as a result of a plug event, maybe with a very simple pointer to where to go to fix

Re: [pulseaudio-discuss] Changing default soundcard on attach/detach of soundcards

2010-07-14 Thread Jan Braun
Colin Guthrie schrob: e.g. when a new BT Headset is discovered, module-intended-roles would basically check to see whether the device is already in the voip priority list and if not, it would inject it at the top, rather than the bottom of the list (there could be various caveats included in

Re: [pulseaudio-discuss] Changing default soundcard on attach/detach of soundcards

2010-07-08 Thread Marco Ballesio
Hi, On Wed, Jun 16, 2010 at 10:59 AM, Colin Guthrie gm...@colin.guthr.ie wrote: Now, incorporating what you suggest, I guess I have nothing against a specific module that actually manipulates a given priority list for you. e.g. you could have a module-prefer-usb-for-music module that actually

Re: [pulseaudio-discuss] Changing default soundcard on attach/detach of soundcards

2010-07-08 Thread Colin Guthrie
'Twas brillig, and Marco Ballesio at 08/07/10 09:37 did gyre and gimble: Hi, On Wed, Jun 16, 2010 at 10:59 AM, Colin Guthrie gm...@colin.guthr.ie wrote: Now, incorporating what you suggest, I guess I have nothing against a specific module that actually manipulates a given priority list for

Re: [pulseaudio-discuss] Changing default soundcard on attach/detach of soundcards

2010-06-16 Thread Colin Guthrie
'Twas brillig, and Jason Taylor at 16/06/10 00:58 did gyre and gimble: Why does the music move to the bluetooth headset in the final example? You seem to suggest that if the priority lists for music is as follows immediately before the BT headset is attached: 1. USB Speakers 2. USB Headset

Re: [pulseaudio-discuss] Changing default soundcard on attach/detach of soundcards

2010-06-16 Thread Jeremy Nickurak
I'm not against supporting this in some capacity, but I would not want it to be the default behaviour. Here's one argument in favor of it being the default behavior... If we can't get it right automatically in general, and the user sees it happening wrong, they at least have some indication

Re: [pulseaudio-discuss] Changing default soundcard on attach/detach of soundcards

2010-06-16 Thread Colin Guthrie
'Twas brillig, and Jeremy Nickurak at 16/06/10 16:04 did gyre and gimble: Does pulseaudio perhaps need to be throwing some visual indication to the user that streams switched devices as a result of a plug event, maybe with a very simple pointer to where to go to fix things? I've got plans for

Re: [pulseaudio-discuss] Changing default soundcard on attach/detach of soundcards

2010-06-15 Thread Colin Guthrie
[I think this was meant for the list so moving it back there] 'Twas brillig, and Jason Taylor at 15/06/10 02:37 did gyre and gimble: The major use cases i have right now that suck... and are not solvable without prior knowledge of how pa works 1 - If I plug in my USB or Bluetooth headset the

Re: [pulseaudio-discuss] Changing default soundcard on attach/detach of soundcards

2010-06-15 Thread Jeremy Nickurak
On Tue, Jun 15, 2010 at 01:40, Colin Guthrie gm...@colin.guthr.ie wrote: I really don't think this is wise. There are so many cases where this doesn't work. If you are in the process of plugging something in, you *expect* to have to take some action. You're in the mind set that you'll need to

Re: [pulseaudio-discuss] Changing default soundcard on attach/detach of soundcards

2010-06-15 Thread Colin Guthrie
'Twas brillig, and Jeremy Nickurak at 15/06/10 16:31 did gyre and gimble: On Tue, Jun 15, 2010 at 01:40, Colin Guthrie gm...@colin.guthr.ie wrote: I really don't think this is wise. There are so many cases where this doesn't work. If you are in the process of plugging something in, you

Re: [pulseaudio-discuss] Changing default soundcard on attach/detach of soundcards

2010-06-15 Thread Nathan Kidd
On 10-06-15 12:05 PM, Colin Guthrie wrote: 'Twas brillig, and Jeremy Nickurak at 15/06/10 16:31 did gyre and gimble: On Tue, Jun 15, 2010 at 01:40, Colin Guthriegm...@colin.guthr.ie wrote: I really don't think this is wise. There are so many cases where this doesn't work. If you are in the

Re: [pulseaudio-discuss] Changing default soundcard on attach/detach of soundcards

2010-06-15 Thread Colin Guthrie
'Twas brillig, and Nathan Kidd at 15/06/10 17:18 did gyre and gimble: I think the ability to say this is my preferred sound device would be ideal. So if that device gets plugged in it automatically becomes the output. You don't make your headset the preferred device, and you're happy. For

Re: [pulseaudio-discuss] Changing default soundcard on attach/detach of soundcards

2010-06-15 Thread Nathan Kidd
On 10-06-15 12:38 PM, Colin Guthrie wrote: 'Twas brillig, and Nathan Kidd at 15/06/10 17:18 did gyre and gimble: I think the ability to say this is my preferred sound device would be ideal. So if that device gets plugged in it automatically becomes the output. You don't make your headset the

Re: [pulseaudio-discuss] Changing default soundcard on attach/detach of soundcards

2010-06-15 Thread Jeremy Nickurak
On Tue, Jun 15, 2010 at 10:05, Colin Guthrie gm...@colin.guthr.ie wrote: Added to this, there are numerous examples of when I really don't want, nor would expect this to happen. e.g. I'm playing music and I get my USB headset to make a VoIP call. My music playing happily on my USB Speakers and

Re: [pulseaudio-discuss] Changing default soundcard on attach/detach of soundcards

2010-06-15 Thread Colin Guthrie
'Twas brillig, and Jeremy Nickurak at 15/06/10 17:46 did gyre and gimble: On Tue, Jun 15, 2010 at 10:05, Colin Guthrie gm...@colin.guthr.ie wrote: Added to this, there are numerous examples of when I really don't want, nor would expect this to happen. e.g. I'm playing music and I get my USB

Re: [pulseaudio-discuss] Changing default soundcard on attach/detach of soundcards

2010-06-15 Thread Jason Taylor
On 16 June 2010 04:05, Colin Guthrie gm...@colin.guthr.ie wrote: 'Twas brillig, and Jeremy Nickurak at 15/06/10 16:31 did gyre and gimble: On Tue, Jun 15, 2010 at 01:40, Colin Guthrie gm...@colin.guthr.ie wrote: I really don't think this is wise. There are so many cases where this doesn't

Re: [pulseaudio-discuss] Changing default soundcard on attach/detach of soundcards

2010-06-15 Thread Colin Guthrie
'Twas brillig, and Jason Taylor at 15/06/10 22:59 did gyre and gimble: On 16 June 2010 04:05, Colin Guthrie gm...@colin.guthr.ie wrote: 'Twas brillig, and Jeremy Nickurak at 15/06/10 16:31 did gyre and gimble: On Tue, Jun 15, 2010 at 01:40, Colin Guthrie gm...@colin.guthr.ie wrote: I really

Re: [pulseaudio-discuss] Changing default soundcard on attach/detach of soundcards

2010-06-15 Thread Jason Taylor
Why does the music move to the bluetooth headset in the final example? You seem to suggest that if the priority lists for music is as follows immediately before the BT headset is attached: 1. USB Speakers 2. USB Headset 3. Internal Audio But afterwards plugging in the BT Headset, it's not

Re: [pulseaudio-discuss] Changing default soundcard on attach/detach of soundcards

2010-06-14 Thread Colin Guthrie
'Twas brillig, and Jason Taylor at 13/06/10 22:59 did gyre and gimble: Here is my proposal: http://colin.guthr.ie/2010/02/this-is-the-route-to-hell/ In my humble opinion Device by media.role is not that great.. it stand up for events, but it should really be be per client

Re: [pulseaudio-discuss] Changing default soundcard on attach/detach of soundcards

2010-06-14 Thread Colin Guthrie
'Twas brillig, and Yves (theYinYeti) at 14/06/10 08:48 did gyre and gimble: Le 14/06/2010 01:59, Jason Taylor a écrit : I just realized I missed one other use case... pa has no concept of window order.. - With 2 streams of the same role (other then notification) are active the stream that

[pulseaudio-discuss] Changing default soundcard on attach/detach of soundcards

2010-06-13 Thread Geralt
Hi everybody, I've got an onboard soundcard and two usb soundcards and I'd like it if pulseaudio could switch automatically the default sound card (or default sink to be more precise) depending on the soundcards that are currently plugged in. Is this possible? In case it's not clear what I want,