[pulseaudio-discuss] Automatic selection of an audio sink depending on value of ENV variable

2009-10-19 Thread Leszek Koltunski
Here's my usercase: I've got a monitor and sound card hw:0.0 set up as my primary video/audio sinks. I've also got a TV , located in a different room, connected to a TV-Out and to another sound card, hw:1.0 I've also got a Bluetooth keyboard and mouse. So whenever I want to watch a video or show

Re: [pulseaudio-discuss] Automatic selection of an audio sink depending on value of ENV variable

2009-10-19 Thread Maarten Bosmans
2009/10/19 Leszek Koltunski les...@koltunski.pl: Now, I would make me one happy duck if I could somehow tell Pulse to automatically route audio to hw:1.0 whenever I am working on the TV, that is, whenever DISPLAY is 1.0. It looks like PULSE_SINK environment variable is exactly what you need,

Re: [pulseaudio-discuss] Automatic selection of an audio sink depending on value of ENV variable

2009-10-19 Thread Colin Guthrie
'Twas brillig, and Leszek Koltunski at 19/10/09 09:38 did gyre and gimble: Now, I would make me one happy duck if I could somehow tell Pulse to automatically route audio to hw:1.0 whenever I am working on the TV, that is, whenever DISPLAY is 1.0. Should be simple, PULSE_SINK= env var does

Re: [pulseaudio-discuss] Automatic selection of an audio sink depending on value of ENV variable

2009-10-19 Thread Colin Guthrie
'Twas brillig, and Maarten Bosmans at 19/10/09 11:10 did gyre and gimble: 2009/10/19 Leszek Koltunski les...@koltunski.pl: Now, I would make me one happy duck if I could somehow tell Pulse to automatically route audio to hw:1.0 whenever I am working on the TV, that is, whenever DISPLAY is 1.0.

[pulseaudio-discuss] /.

2009-10-19 Thread Colin Guthrie
You'll no doubt be aware, but: http://linux.slashdot.org/story/09/10/19/0155235/PulseAudio-Creator-Responds-To-Critics It's full of the usual ill informed rants, but obviously user experience is a tough one to judge as a huge chunk of the user experience with pulse is really down to the

Re: [pulseaudio-discuss] Automatic selection of an audio sink depending on value of ENV variable

2009-10-19 Thread Leszek Koltunski
Ok, thanks guys! Pulse Convert On Mon, Oct 19, 2009 at 6:20 PM, Jeremy Visser jer...@visser.name wrote: On Mon, 2009-10-19 at 16:38 +0800, Leszek Koltunski wrote: Every time I work on the TV, the sound should be sent to hw:1.0, so I have to fire up the new 'gnome-sound-properties 2.28'

Re: [pulseaudio-discuss] [PATCH 4/4] Wrap clock_gettime and friends

2009-10-19 Thread Daniel Mack
On Wed, Sep 16, 2009 at 11:48:58PM +0200, Lennart Poettering wrote: On Wed, 16.09.09 15:15, Daniel Mack (dan...@caiaq.de) wrote: From: Kim Lester k...@dfusion.com.au OS X does not define clockid_t or clock_gettime() and friends. Add a wrapper to fix this. Hmpf. I am not particularly

Re: [pulseaudio-discuss] [PATCH 2/4] Mac OS X: add semaphore implementation

2009-10-19 Thread Daniel Mack
On Wed, Sep 16, 2009 at 11:57:04PM +0200, Lennart Poettering wrote: On Wed, 16.09.09 15:15, Daniel Mack (dan...@caiaq.de) wrote: +s = pa_xnew(pa_semaphore, 1); +MPCreateSemaphore(UINT_MAX, value, (s-sema)); +pa_assert(s-sema != 0); Hmm, I'd prefer if the ret val of

Re: [pulseaudio-discuss] Automatic selection of an audio sink depending on value of ENV variable

2009-10-19 Thread Colin Guthrie
'Twas brillig, and Jeremy Visser at 19/10/09 11:20 did gyre and gimble: On Mon, 2009-10-19 at 16:38 +0800, Leszek Koltunski wrote: Every time I work on the TV, the sound should be sent to hw:1.0, so I have to fire up the new 'gnome-sound-properties 2.28' (BTW, wonderful app! simple and

Re: [pulseaudio-discuss] /.

2009-10-19 Thread remrot
/me just wants to notice that /me likes PulseAudio :) Seriously, I think that PA is the most important change to the Linux sound system that happened within the last few years. Although I suffered from some of it's bugs, I think PA has great potential and I also like (and want) it's features! The

Re: [pulseaudio-discuss] /.

2009-10-19 Thread Colin Guthrie
'Twas brillig, and rem...@gmail.com at 19/10/09 14:10 did gyre and gimble: /me wants to say THANK YOU for your work and /me hopes that PulseAudio will live on and finally become everything you (and me) wants it to become! Cheers dude. While I've only contributed a very minor amount to PA, as a

Re: [pulseaudio-discuss] /.

2009-10-19 Thread remrot
2009/10/19 Stephan Seitz stse+pu...@fsing.rootsland.netstse%2bpu...@fsing.rootsland.net On Mon, Oct 19, 2009 at 03:10:28PM +0200, rem...@gmail.com wrote: Seriously, I think that PA is the most important change to the Linux sound system that happened within the last few years. Although Hm,

Re: [pulseaudio-discuss] Windows7 audio architecture

2009-10-19 Thread Lennart Poettering
On Mon, 19.10.09 10:38, pl bossart (bossart.nos...@gmail.com) wrote: The video is available at: http://channel9.msdn.com/shows/Going+Deep/Elliot-H-Omiya-Larry-Osterman-and-Frank-Yerrace-Inside-Windows-7-Audio-Stack/ for download in various formats. Here is a direct download URL:

Re: [pulseaudio-discuss] /.

2009-10-19 Thread Stephan Seitz
On Mon, Oct 19, 2009 at 06:17:12PM +0200, rem...@gmail.com wrote: Seems like I have to repeat myself: if you don't want to use PA, than don't use it! If you don't use it, you don't have to pay! Sorry, it seems I misunderstood you, so I apologize. I thought you meant that everyone should pay

Re: [pulseaudio-discuss] /.

2009-10-19 Thread remrot
2009/10/19 Stephan Seitz stse+pu...@fsing.rootsland.netstse%2bpu...@fsing.rootsland.net On Mon, Oct 19, 2009 at 06:17:12PM +0200, rem...@gmail.com wrote: Seems like I have to repeat myself: if you don't want to use PA, than don't use it! If you don't use it, you don't have to pay! Sorry,

Re: [pulseaudio-discuss] /.

2009-10-19 Thread MichaƂ Sawicz
Dnia 2009-10-19, pon o godzinie 19:47 +0200, rem...@gmail.com pisze: No prob, apology accepted ;) I can understand people who don't like changes in their OS at all and I think every one of us knowks at least one guy/girl that freaks out if some desktop-icons have been moved ;) Well I can

Re: [pulseaudio-discuss] Automatic selection of an audio sink depending on value of ENV variable

2009-10-19 Thread Lennart Poettering
On Mon, 19.10.09 16:38, Leszek Koltunski (les...@koltunski.pl) wrote: Now, I would make me one happy duck if I could somehow tell Pulse to automatically route audio to hw:1.0 whenever I am working on the TV, that is, whenever DISPLAY is 1.0. As the others already pointed out, the X11 props

[pulseaudio-discuss] Suggestion for dbus communication with JACK

2009-10-19 Thread Ng Oon-Ee
Quick suggestion, in latest pulse and latest jack pulse will give up control of the audio hardware when Jack starts (as informed by dbus) and grab control back once Jack stops. Could module-jack-sink and module-jack-source also be loaded/unloaded at these points? I took a quick look/grep through