Re: [pulseaudio-discuss] [PATCH v2 4/5] pass pa_suspend_cause_t to set_state_in_io_thread() callbacks

2018-03-19 Thread Tanu Kaskinen
On Mon, 2018-03-19 at 22:24 +0200, Tanu Kaskinen wrote: > On Fri, 2018-03-16 at 20:04 +0100, Georg Chini wrote: > > On 16.03.2018 19:26, Tanu Kaskinen wrote: > > > On Fri, 2018-03-16 at 11:15 +0100, Georg Chini wrote: > > > > On 13.03.2018 18:40, Tanu Kaskinen wrote: > > > > > The suspend cause isn

Re: [pulseaudio-discuss] [PATCH v2 4/5] pass pa_suspend_cause_t to set_state_in_io_thread() callbacks

2018-03-19 Thread Tanu Kaskinen
On Fri, 2018-03-16 at 20:04 +0100, Georg Chini wrote: > On 16.03.2018 19:26, Tanu Kaskinen wrote: > > On Fri, 2018-03-16 at 11:15 +0100, Georg Chini wrote: > > > On 13.03.2018 18:40, Tanu Kaskinen wrote: > > > > The suspend cause isn't yet used by any of the callbacks. The alsa sink > > > > and sou

Re: [pulseaudio-discuss] [PATCH v2 4/5] pass pa_suspend_cause_t to set_state_in_io_thread() callbacks

2018-03-16 Thread Georg Chini
On 16.03.2018 19:26, Tanu Kaskinen wrote: On Fri, 2018-03-16 at 11:15 +0100, Georg Chini wrote: On 13.03.2018 18:40, Tanu Kaskinen wrote: The suspend cause isn't yet used by any of the callbacks. The alsa sink and source will use it to sync the mixer when the SESSION suspend cause is removed. C

Re: [pulseaudio-discuss] [PATCH v2 4/5] pass pa_suspend_cause_t to set_state_in_io_thread() callbacks

2018-03-16 Thread Tanu Kaskinen
On Fri, 2018-03-16 at 11:15 +0100, Georg Chini wrote: > On 13.03.2018 18:40, Tanu Kaskinen wrote: > > The suspend cause isn't yet used by any of the callbacks. The alsa sink > > and source will use it to sync the mixer when the SESSION suspend cause > > is removed. Currently the syncing is done in

Re: [pulseaudio-discuss] [PATCH v2 4/5] pass pa_suspend_cause_t to set_state_in_io_thread() callbacks

2018-03-16 Thread Georg Chini
On 13.03.2018 18:40, Tanu Kaskinen wrote: The suspend cause isn't yet used by any of the callbacks. The alsa sink and source will use it to sync the mixer when the SESSION suspend cause is removed. Currently the syncing is done in pa_sink/source_suspend(), and I want to change that, because pa_si

[pulseaudio-discuss] [PATCH v2 4/5] pass pa_suspend_cause_t to set_state_in_io_thread() callbacks

2018-03-13 Thread Tanu Kaskinen
The suspend cause isn't yet used by any of the callbacks. The alsa sink and source will use it to sync the mixer when the SESSION suspend cause is removed. Currently the syncing is done in pa_sink/source_suspend(), and I want to change that, because pa_sink/source_suspend() shouldn't have any alsa