Re: [pulseaudio-discuss] [PATCH 1/3] refactor default sink/source handling

2017-02-01 Thread Arun Raghavan
On Tue, 31 Jan 2017, at 07:43 PM, Tanu Kaskinen wrote: > On Mon, 2017-01-30 at 14:37 +0530, Arun Raghavan wrote: > > > > On Thu, 8 Sep 2016, at 04:36 PM, Tanu Kaskinen wrote: > > > +void pa_core_update_default_sink(pa_core *core) { > > > +pa_sink *best = NULL; > > > +pa_sink *sink; > >

Re: [pulseaudio-discuss] [PATCH 1/3] refactor default sink/source handling

2017-01-30 Thread Arun Raghavan
On Thu, 8 Sep 2016, at 04:36 PM, Tanu Kaskinen wrote: > Currently the default sink policy is simple: either the user has > configured it explicitly, in which case we always use that as the > default, or we pick the sink with the highest priority. The sink > priorities are currently static, so

[pulseaudio-discuss] [PATCH 1/3] refactor default sink/source handling

2016-09-08 Thread Tanu Kaskinen
Currently the default sink policy is simple: either the user has configured it explicitly, in which case we always use that as the default, or we pick the sink with the highest priority. The sink priorities are currently static, so there's no need to worry about updating the default sink when sink