Re: [pulseaudio-discuss] PulseAudio, switch audio output on device connection

2014-10-19 Thread Tanu Kaskinen
On Thu, 2014-10-09 at 00:39 +0200, Mark Gaiser wrote: > On Wed, Oct 8, 2014 at 1:06 PM, Tanu Kaskinen > wrote: > > On Mon, 2014-10-06 at 19:47 +0200, Mark Gaiser wrote: > >> Ok, i tried a bunch of different players. The results: > >> - mplayer (smplayer as well) : sound doesn't switch when attachi

Re: [pulseaudio-discuss] [PATCH] libpulse.vapi: adding missing fields for sink_input/source_output info struct

2014-10-19 Thread Tanu Kaskinen
On Wed, 2014-10-01 at 20:08 -0300, Ricardo Salveti de Araujo wrote: > From: Ricardo Salveti de Araujo > > Signed-off-by: Ricardo Salveti de Araujo > --- > vala/libpulse.vapi | 8 > 1 file changed, 8 insertions(+) Thanks! Applied. -- Tanu

Re: [pulseaudio-discuss] [PATCH] module-virtual-sink: Speed up draining

2014-10-19 Thread Tanu Kaskinen
On Thu, 2014-10-02 at 15:58 +0200, David Henningsson wrote: > The drain speed increase done a while ago, only worked when directly connected > to ALSA sinks. Playing through an module-virtual-sink would cause slower > drains. What about other virtual sinks? Shouldn't the same fix be applied to th

Re: [pulseaudio-discuss] [PATCH] bluetooth: Move stuff to pa_bluetooth_transport_put/unlink()

2014-10-19 Thread Tanu Kaskinen
On Tue, 2014-10-07 at 14:50 +0300, Tanu Kaskinen wrote: > This should not have any effect on behaviour. The goal is to align > with the pattern that I think we should follow: > > Object initialization: > - put() is the place to create references from other objects to the >newly created object

Re: [pulseaudio-discuss] Sharing X application the old way with sound

2014-10-19 Thread Tanu Kaskinen
On Tue, 2014-10-07 at 15:03 +0200, Edouard Gaulué wrote: > Hi community, > > There is a time when too much information kills information (old > information, partial information, wrong information...). I've been > googling for hours now and read a lot but I still don't know what to do > to imple

Re: [pulseaudio-discuss] [PATCH] tunnel-sink-new: Fix requested latency check

2014-10-19 Thread Tanu Kaskinen
On Tue, 2014-10-07 at 16:56 +0300, Tanu Kaskinen wrote: > This fixes a bug in latency configuration. The wrong type in the cast > caused UINT64_MAX being not treated as special, so the configured > latency was set to UINT64_MAX usecs, which of course is absurdly huge > latency. > --- > src/modules

Re: [pulseaudio-discuss] pulse xrdp sink

2014-10-19 Thread Tanu Kaskinen
On Thu, 2014-10-09 at 15:27 +0200, Edouard Gaulué wrote: > Hi community, > > Any news about this sink? No news. -- Tanu ___ pulseaudio-discuss mailing list pulseaudio-discuss@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/pulseau

Re: [pulseaudio-discuss] PulseAudio, switch audio output on device connection

2014-10-19 Thread Mark Gaiser
On Sun, Oct 19, 2014 at 12:01 PM, Tanu Kaskinen wrote: > On Thu, 2014-10-09 at 00:39 +0200, Mark Gaiser wrote: >> On Wed, Oct 8, 2014 at 1:06 PM, Tanu Kaskinen >> wrote: >> > On Mon, 2014-10-06 at 19:47 +0200, Mark Gaiser wrote: >> >> Ok, i tried a bunch of different players. The results: >> >> -

Re: [pulseaudio-discuss] [PATCH v2] bluetooth: Add support for automatic switch between hsp and a2dp profiles

2014-10-19 Thread Pali Rohár
On Sunday 28 September 2014 12:44:13 Pali Rohár wrote: > With this patch module-bluetooth-policy automatically switch > from a2dp profile to hsp profile if some application want to > start recording. > > By default a2dp profile is used for listening music, but for > VOIP calls is needed profile wi

[pulseaudio-discuss] About the routing patches

2014-10-19 Thread Tanu Kaskinen
Hi, In Düsseldorf we discussed a bit about the plan regarding the routing patches. The situation remains that nobody else than David has looked into the patches, and David would rather not merge the patches, because the infrastructure alone doesn't solve any problems. The point was repeated t

Re: [pulseaudio-discuss] systemd socket activation support

2014-10-19 Thread Tanu Kaskinen
On Sat, 2014-10-18 at 20:43 +0200, Colin Guthrie wrote: > Hi, > > So while at linux plumbers attending the systemd hackfest, I thought a good > use of the hacking time I had available would be to allow PulseAudio to be > activated via systemd's socket activation system. Great, thanks for the patc

Re: [pulseaudio-discuss] [PATCH] Don't let user-set PULSE_RUNTIME_PATH values affect behaviour

2014-10-19 Thread Glenn Golden
Tanu Kaskinen [2014-10-06 13:58:09 +0300]: > On Mon, 2014-10-06 at 12:46 +0200, David Henningsson wrote: > > > > On 2014-10-06 12:41, Tanu Kaskinen wrote: > > > On Sat, 2014-10-04 at 11:13 -0600, Glenn Golden wrote: > > >> David Henningsson [2014-10-02 11:29:50 > > >> +0200]: > > >>> > > >>> >

Re: [pulseaudio-discuss] systemd socket activation support

2014-10-19 Thread Peter Meerwald
Hi, > use of the hacking time I had available would be to allow PulseAudio to be > activated via systemd's socket activation system. how does this work relate to the systemd socket activation patches by Campagna / Jardon / Crequy listed on http://www.freedesktop.org/wiki/Software/PulseAudio/Pat

Re: [pulseaudio-discuss] [PATCH] module-virtual-sink: Speed up draining

2014-10-19 Thread David Henningsson
On 2014-10-19 12:57, Tanu Kaskinen wrote: On Thu, 2014-10-02 at 15:58 +0200, David Henningsson wrote: The drain speed increase done a while ago, only worked when directly connected to ALSA sinks. Playing through an module-virtual-sink would cause slower drains. What about other virtual sinks

Re: [pulseaudio-discuss] [PATCH] Don't let user-set PULSE_RUNTIME_PATH values affect behaviour

2014-10-19 Thread David Henningsson
On 2014-10-19 22:39, Glenn Golden wrote: Tanu Kaskinen [2014-10-06 13:58:09 +0300]: On Mon, 2014-10-06 at 12:46 +0200, David Henningsson wrote: On 2014-10-06 12:41, Tanu Kaskinen wrote: On Sat, 2014-10-04 at 11:13 -0600, Glenn Golden wrote: David Henningsson [2014-10-02 11:29:50 +0200]:

Re: [pulseaudio-discuss] [PATCH] module-virtual-sink: Speed up draining

2014-10-19 Thread Alexander E. Patrakov
02.10.2014 19:58, David Henningsson wrote: @@ -216,6 +216,10 @@ static int sink_input_pop_cb(pa_sink_input *i, size_t nbytes, pa_memchunk *chunk pa_memchunk nchunk; pa_sink_render(u->sink, nbytes, &nchunk); +if (nchunk.memblock == u->sink->silence.memblock) { +