Re: [pulseaudio-discuss] [PATCH] alsa-mixer: Adding Jack of Front Headphone Front and Surround

2018-12-31 Thread Tanu Kaskinen
On Fri, 2018-12-21 at 11:05 +0800, Hui Wang wrote: > We have 2 HP desktop models which have one front headphone Jack and > one front headset Jack, in the Linux kernel, these two jacks are > named "Front Headphone Front Jack" and "Front Headphone Surround > Jack", now adding them into the pathes con

Re: [pulseaudio-discuss] [PATCH 3/4] move streams to new appeared sinks if they prefer these sinks

2018-12-31 Thread Tanu Kaskinen
On Mon, 2018-11-05 at 09:47 +0800, Hui Wang wrote: > When a new sink appears, all streams that have their "preferred_sink" > set to the new sink should be moved to the new sink. > Signed-off-by: Hui Wang > --- > src/pulsecore/sink.c | 31 +++ > src/pulsecore/sink.h |

Re: [pulseaudio-discuss] [PATCH 3/4] move streams to new appeared sinks if they prefer these sinks

2018-12-31 Thread Tanu Kaskinen
On Mon, 2018-12-31 at 20:01 +0200, Tanu Kaskinen wrote: > On Mon, 2018-11-05 at 09:47 +0800, Hui Wang wrote: > > diff --git a/src/pulsecore/sink.c b/src/pulsecore/sink.c > > index 63a3456e7..a2a390beb 100644 > > --- a/src/pulsecore/sink.c > > +++ b/src/pulsecore/sink.c > > @@ -722,6 +722,8 @@ void

Re: [pulseaudio-discuss] [PATCH 4/4] move stream when the active_port changes

2018-12-31 Thread Tanu Kaskinen
On Mon, 2018-11-05 at 09:47 +0800, Hui Wang wrote: > When the active port of a sink becomes unavailable, all streams from > that sink should be moved to the default sink. > > When the active port of an existing sink changes state from > unavailable, all streams that have their "preferred_sink" > s