Re: [pulseaudio-discuss] [PATCH] sink, source: update the default sink/source on port switches

2017-05-11 Thread Georg Chini
On 07.05.2017 11:12, Tanu Kaskinen wrote: When sinks are compared during the default sink selection, the active port's availability is inspected. Therefore, the default sink should be updated when the active port changes, because the new port may have different availability status than the old po

[pulseaudio-discuss] [PATCH] bluez5-device: Set transport state correctly for AG role

2017-05-11 Thread Georg Chini
When connecting a headset via the native backend, the transport state was not updated correctly. This patch sets the state to PLAYING in transport_acquire() if necessary. --- src/modules/bluetooth/module-bluez5-device.c | 13 + 1 file changed, 13 insertions(+) diff --git a/src/module

Re: [pulseaudio-discuss] [PATCH v5 5/7] bluetooth: Auto recover if profile is 'off'

2017-05-11 Thread Georg Chini
On 11.05.2017 11:55, Tanu Kaskinen wrote: On Mon, 2017-05-08 at 13:09 +0300, Luiz Augusto von Dentz wrote: Hi Tanu, On Mon, May 8, 2017 at 11:53 AM, Tanu Kaskinen wrote: On Mon, 2017-05-08 at 11:26 +0300, Luiz Augusto von Dentz wrote: Hi Tanu, On Sat, May 6, 2017 at 7:20 PM, Tanu Kaskinen

Re: [pulseaudio-discuss] [PATCH] sink/source: Don't update default sink/source before calling PA_CORE_HOOK_{SINK, SOURCE}_PUT

2017-05-11 Thread Tanu Kaskinen
On Wed, 2017-05-10 at 12:05 +0200, Georg Chini wrote: > In sink_put() and source_put(), pa_core_update_default_{sink,source}() was > called > before the PA_CORE_HOOK_{SINK,SOURCE}_PUT hook. Therefore > module-switch-on-connect > could not correctly determine the old default sink/source if no user

Re: [pulseaudio-discuss] [PATCH v5 5/7] bluetooth: Auto recover if profile is 'off'

2017-05-11 Thread Tanu Kaskinen
On Wed, 2017-05-10 at 16:17 +0300, Luiz Augusto von Dentz wrote: > Another thing with 'off' > profile, at least with gnome settings when it is selected there is no > way to switch it back to either A2DP or HFP, I think it is probably > because it has no ports available. That's interesting. The por

Re: [pulseaudio-discuss] [PATCH v5 5/7] bluetooth: Auto recover if profile is 'off'

2017-05-11 Thread Tanu Kaskinen
On Mon, 2017-05-08 at 13:09 +0300, Luiz Augusto von Dentz wrote: > Hi Tanu, > > On Mon, May 8, 2017 at 11:53 AM, Tanu Kaskinen wrote: > > On Mon, 2017-05-08 at 11:26 +0300, Luiz Augusto von Dentz wrote: > > > Hi Tanu, > > > > > > On Sat, May 6, 2017 at 7:20 PM, Tanu Kaskinen wrote: > > > > On F