Re: [pulseaudio-discuss] [PATCH 2/4] move stream after default sink is changed.

2018-12-25 Thread Hui Wang
On 2018/12/23 上午2:57, Tanu Kaskinen wrote: On Sat, 2018-12-15 at 14:48 +0800, Hui Wang wrote: On 2018/12/13 下午5:16, Tanu Kaskinen wrote: On Mon, 2018-11-05 at 09:47 +0800, Hui Wang wrote: When default sink changes, the stream should be moved to new default_sink too. Except if the stream's

Re: [pulseaudio-discuss] [PATCH 2/4] move stream after default sink is changed.

2018-12-22 Thread Tanu Kaskinen
On Sat, 2018-12-15 at 14:48 +0800, Hui Wang wrote: > On 2018/12/13 下午5:16, Tanu Kaskinen wrote: > > On Mon, 2018-11-05 at 09:47 +0800, Hui Wang wrote: > > > When default sink changes, the stream should be moved to new > > > default_sink too. > > Except if the stream's preferred sink is the old

Re: [pulseaudio-discuss] [PATCH 2/4] move stream after default sink is changed.

2018-12-14 Thread Hui Wang
On 2018/12/13 下午5:16, Tanu Kaskinen wrote: On Mon, 2018-11-05 at 09:47 +0800, Hui Wang wrote: When default sink changes, the stream should be moved to new default_sink too. Except if the stream's preferred sink is the old default sink. If it is user to call change default function, all

Re: [pulseaudio-discuss] [PATCH 2/4] move stream after default sink is changed.

2018-12-13 Thread Tanu Kaskinen
On Mon, 2018-11-05 at 09:47 +0800, Hui Wang wrote: > When default sink changes, the stream should be moved to new > default_sink too. Except if the stream's preferred sink is the old default sink. > If it is user to call change default function, > all stream will move to new default sink

[pulseaudio-discuss] [PATCH 2/4] move stream after default sink is changed.

2018-11-04 Thread Hui Wang
When default sink changes, the stream should be moved to new default_sink too. If it is user to call change default function, all stream will move to new default sink unconditionally; if it is not, will check if stream binds to old_default_sink and the active_port staus of old_default_sink, then