Re: [pulseaudio-discuss] [PATCH 2/3] core, device-port: check availability when choosing the default device

2017-01-30 Thread Arun Raghavan
On Thu, 8 Sep 2016, at 04:36 PM, Tanu Kaskinen wrote: > It doesn't make sense to use a sink or source whose active port is > unavailable, so let's take this into account when choosing the default > sink and source. > --- > src/pulsecore/core.c| 16 >

Re: [pulseaudio-discuss] [PATCH 2/3] core, device-port: check availability when choosing the default device

2016-09-08 Thread Tanu Kaskinen
On Thu, 2016-09-08 at 17:06 +0500, Alexander E. Patrakov wrote: > 08.09.2016 16:06, Tanu Kaskinen wrote: > > > > It doesn't make sense to use a sink or source whose active port is > > unavailable, so let's take this into account when choosing the default > > sink and source. > > What happens if

Re: [pulseaudio-discuss] [PATCH 2/3] core, device-port: check availability when choosing the default device

2016-09-08 Thread Alexander E. Patrakov
08.09.2016 16:06, Tanu Kaskinen wrote: It doesn't make sense to use a sink or source whose active port is unavailable, so let's take this into account when choosing the default sink and source. What happens if there is exactly one sink (e.g. desktop with just one sound card that has line

[pulseaudio-discuss] [PATCH 2/3] core, device-port: check availability when choosing the default device

2016-09-08 Thread Tanu Kaskinen
It doesn't make sense to use a sink or source whose active port is unavailable, so let's take this into account when choosing the default sink and source. --- src/pulsecore/core.c| 16 src/pulsecore/device-port.c | 8 2 files changed, 24 insertions(+) diff