Re: [pulseaudio-discuss] [PATCH v2 6/8] device-port: moving streams due to changing the status of active_port

2019-06-30 Thread Georg Chini

On 30.06.19 14:52, Georg Chini wrote:

On 17.01.19 07:53, 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 a sink changes state from unavailable, all
streams that have their preferred_sink set to this sink should be moved
to this sink.


Is that necessary at all? If an additional port becomes available
or unavailable (lets say I plug in/out head phones) the sink does
not change. Only if the last port becomes available/unavailable
the sink also becomes available/unavailable and in that case the
switch to/from the sink will be handled elsewhere.

Or am I thinking wrong?



Well, I was thinking wrong. I understand now why it is needed,
so forget my previous mail.

___
pulseaudio-discuss mailing list
pulseaudio-discuss@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/pulseaudio-discuss

Re: [pulseaudio-discuss] [PATCH v2 6/8] device-port: moving streams due to changing the status of active_port

2019-06-30 Thread Georg Chini

On 17.01.19 07:53, 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 a sink changes state from unavailable, all
streams that have their preferred_sink set to this sink should be moved
to this sink.


Is that necessary at all? If an additional port becomes available
or unavailable (lets say I plug in/out head phones) the sink does
not change. Only if the last port becomes available/unavailable
the sink also becomes available/unavailable and in that case the
switch to/from the sink will be handled elsewhere.

Or am I thinking wrong?

___
pulseaudio-discuss mailing list
pulseaudio-discuss@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/pulseaudio-discuss