wireplumber/modules/module-config-policy
George Kiagiadakis 40e4ce8909 config-policy: push endpoints with keep=true to the end of the list when sorting
This ensures that endpoints with keep=false will still have
a chance to link when ones with keep=true exist. This also effectively
means that role priority does not matter when keep=true: we keep these
links active no matter what, while policy still applies normally for
all others.

For example, a final sorted list with these endpoints will end up
looking like this:

* ep1, role priority=25, keep=false
* ep2, role priority=20, keep=false
* ep3, role priority=25, keep=true
* ep4, role priority=75, keep=true

... which will effectively cause ep1, ep3 and ep4 to be linked.
2019-12-19 14:43:40 +02:00
..
config-policy.c config-policy: push endpoints with keep=true to the end of the list when sorting 2019-12-19 14:43:40 +02:00
config-policy.h modules: add config policy module 2019-12-04 16:38:35 -05:00
parser-endpoint-link.c config-policy: use the default session endpoint if target-endpoint is not defined 2019-12-16 13:37:05 -05:00
parser-endpoint-link.h config-policy: use the default session endpoint if target-endpoint is not defined 2019-12-16 13:37:05 -05:00