Re: [pulseaudio-discuss] [PATCH] "pipe-sink" added option "use_system_clock_for_timing"

2017-12-30 Thread Samo Pogačnik
Dne 30.12.2017 (sob) ob 17:22 +0200 je Tanu Kaskinen napisal(a): > On Sat, 2017-12-30 at 14:00 +0100, Samo Pogačnik wrote: > > > > Dne 29.12.2017 (pet) ob 15:40 +0200 je Tanu Kaskinen napisal(a): > > > > > > On Sat, 2017-12-16 at 16:57 +0100, Samo Pogačnik wrote: > > > > > > > > > > > > +  

Re: [pulseaudio-discuss] [PATCH v2 2/2] switch-on-port-available: deactivate direction when the no ports are available for that direction

2017-12-30 Thread Georg Chini
On 30.12.2017 16:12, Tanu Kaskinen wrote: On Sat, 2017-12-30 at 14:27 +0100, Georg Chini wrote: On 30.12.2017 13:55, Tanu Kaskinen wrote: On Sat, 2017-12-30 at 13:09 +0100, Georg Chini wrote: On 29.12.2017 21:28, Georg Chini wrote: On 29.12.2017 13:49, Tanu Kaskinen wrote: There's still the

Re: [pulseaudio-discuss] [PATCH] "pipe-sink" added option "use_system_clock_for_timing"

2017-12-30 Thread Tanu Kaskinen
On Sat, 2017-12-30 at 14:00 +0100, Samo Pogačnik wrote: > Dne 29.12.2017 (pet) ob 15:40 +0200 je Tanu Kaskinen napisal(a): > > On Sat, 2017-12-16 at 16:57 +0100, Samo Pogačnik wrote: > > > > > > +break; > > > +} > > > +} else { > > > +count += l; > >

Re: [pulseaudio-discuss] [PATCH v2 2/2] switch-on-port-available: deactivate direction when the no ports are available for that direction

2017-12-30 Thread Tanu Kaskinen
On Sat, 2017-12-30 at 14:27 +0100, Georg Chini wrote: > On 30.12.2017 13:55, Tanu Kaskinen wrote: > > On Sat, 2017-12-30 at 13:09 +0100, Georg Chini wrote: > > > On 29.12.2017 21:28, Georg Chini wrote: > > > > On 29.12.2017 13:49, Tanu Kaskinen wrote: > > > > > There's still the problem that once t

Re: [pulseaudio-discuss] [PATCH v2 2/2] switch-on-port-available: deactivate direction when the no ports are available for that direction

2017-12-30 Thread Georg Chini
On 30.12.2017 13:55, Tanu Kaskinen wrote: On Sat, 2017-12-30 at 13:09 +0100, Georg Chini wrote: On 29.12.2017 21:28, Georg Chini wrote: On 29.12.2017 13:49, Tanu Kaskinen wrote: There's still the problem that once the HDMI sink is available again, streams won't be moved there automatically (un

Re: [pulseaudio-discuss] [PATCH v2 2/2] switch-on-port-available: deactivate direction when the no ports are available for that direction

2017-12-30 Thread Georg Chini
On 30.12.2017 13:55, Tanu Kaskinen wrote: On Sat, 2017-12-30 at 13:09 +0100, Georg Chini wrote: On 29.12.2017 21:28, Georg Chini wrote: On 29.12.2017 13:49, Tanu Kaskinen wrote: There's still the problem that once the HDMI sink is available again, streams won't be moved there automatically (un

Re: [pulseaudio-discuss] [PATCH] "pipe-sink" added option "use_system_clock_for_timing"

2017-12-30 Thread Samo Pogačnik
Dne 29.12.2017 (pet) ob 15:40 +0200 je Tanu Kaskinen napisal(a): > On Sat, 2017-12-16 at 16:57 +0100, Samo Pogačnik wrote: > > > > +static ssize_t pipe_sink_write(struct userdata *u, pa_memchunk > > *pchunk) { > > +size_t index, length; > > +ssize_t count = 0; > > +void *p; > > + > > +

Re: [pulseaudio-discuss] [PATCH v2 2/2] switch-on-port-available: deactivate direction when the no ports are available for that direction

2017-12-30 Thread Tanu Kaskinen
On Sat, 2017-12-30 at 13:09 +0100, Georg Chini wrote: > On 29.12.2017 21:28, Georg Chini wrote: > > On 29.12.2017 13:49, Tanu Kaskinen wrote: > > > There's still the problem that once the HDMI sink is available again, > > > streams won't be moved there automatically (unless module-switch-on- > > >

Re: [pulseaudio-discuss] [PATCH v2 2/2] switch-on-port-available: deactivate direction when the no ports are available for that direction

2017-12-30 Thread Tanu Kaskinen
On Fri, 2017-12-29 at 21:28 +0100, Georg Chini wrote: > On 29.12.2017 13:49, Tanu Kaskinen wrote: > > On Fri, 2017-12-29 at 08:25 +0100, Georg Chini wrote: > > > On 28.12.2017 16:14, Tanu Kaskinen wrote: > > > > +static void deactivate_direction(pa_card *card, pa_direction_t > > > > direction) { >

Re: [pulseaudio-discuss] [PATCH 1/3] alsa: fix infinite loop with Intel HDMI LPE

2017-12-30 Thread David Henningsson
On 2017-12-30 13:03, Georg Chini wrote: On 30.12.2017 10:54, Alexander E. Patrakov wrote: 2017-12-29 20:37 GMT+08:00 Tanu Kaskinen : On Fri, 2017-12-29 at 11:46 +0800, Alexander E. Patrakov wrote: 2017-12-28 18:09 GMT+08:00 Tanu Kaskinen : The Intel HDMI LPE driver works in a peculiar way wh

Re: [pulseaudio-discuss] [PATCH v2 2/2] switch-on-port-available: deactivate direction when the no ports are available for that direction

2017-12-30 Thread Georg Chini
On 29.12.2017 21:28, Georg Chini wrote: On 29.12.2017 13:49, Tanu Kaskinen wrote: On Fri, 2017-12-29 at 08:25 +0100, Georg Chini wrote: On 28.12.2017 16:14, Tanu Kaskinen wrote: This ensures that streams are moved away from unavailable outputs or inputs. For example, sometimes HDMI is on a ded

Re: [pulseaudio-discuss] [PATCH 1/3] alsa: fix infinite loop with Intel HDMI LPE

2017-12-30 Thread Georg Chini
On 30.12.2017 10:54, Alexander E. Patrakov wrote: 2017-12-29 20:37 GMT+08:00 Tanu Kaskinen : On Fri, 2017-12-29 at 11:46 +0800, Alexander E. Patrakov wrote: 2017-12-28 18:09 GMT+08:00 Tanu Kaskinen : The Intel HDMI LPE driver works in a peculiar way when the HDMI cable is not plugged in: any w

Re: [pulseaudio-discuss] [PATCH 1/3] alsa: fix infinite loop with Intel HDMI LPE

2017-12-30 Thread David Henningsson
On 2017-12-30 10:54, Alexander E. Patrakov wrote: 2017-12-29 20:37 GMT+08:00 Tanu Kaskinen : On Fri, 2017-12-29 at 11:46 +0800, Alexander E. Patrakov wrote: 2017-12-28 18:09 GMT+08:00 Tanu Kaskinen : The Intel HDMI LPE driver works in a peculiar way when the HDMI cable is not plugged in: any

Re: [pulseaudio-discuss] [PATCH 1/3] alsa: fix infinite loop with Intel HDMI LPE

2017-12-30 Thread Alexander E. Patrakov
2017-12-29 20:37 GMT+08:00 Tanu Kaskinen : > On Fri, 2017-12-29 at 11:46 +0800, Alexander E. Patrakov wrote: >> 2017-12-28 18:09 GMT+08:00 Tanu Kaskinen : >> > The Intel HDMI LPE driver works in a peculiar way when the HDMI cable is >> > not plugged in: any written audio is immediately discarded an