-
- Downloads
impl-node: subclass from GObject
By mistake, WpImplNode was developed by keeping in mind that the proxy returned by pw_core_export() is a PW_TYPE_INTERFACE_Node, but this is not true. It's actually a ClientNode... Unfortunately, making WpImplNode work as if it was a WpNode is not so easy, especially when it comes to handling params, which need to be queried syncrhonously on the underlying spa_node. So, instead of fixing WpImplNode to work as a WpNode, we choose to disconnect them. This way, WpImplNode will not be used as a proxy in the registry and the registry will normally create WpNode proxies instead, making round-trips through the server to change node params.
Showing
- lib/wp/node.c 32 additions, 40 deletionslib/wp/node.c
- lib/wp/node.h 4 additions, 1 deletionlib/wp/node.h
- modules/module-config-static-objects/context.c 11 additions, 5 deletionsmodules/module-config-static-objects/context.c
- modules/module-monitor.c 8 additions, 4 deletionsmodules/module-monitor.c
Loading
Please register or sign in to comment