modules: add new module-filters-api to enable smart filter policy
This MR adds a new module-filters-api
so that policy-node.lua
can link filter nodes that have the node.link-group
property (such as echo-cancel, filter-chain, loopback, etc...) in a smart way.
The filters logic can be configured in the policy.lua.d/30-filters-config.lua
file. See the contents here: https://gitlab.freedesktop.org/julian/wireplumber/-/blob/f17b9348c71fd68d27cc57959d44494f89e9e7ef/src/config/policy.lua.d/30-filters-config.lua
This configuration file allows grouping filters together (sorted by priority) to use a common target node. This smart filter policy is experimental and therefore disabled by default. You can enable it in the '10-default-policy.lya' configuration file.