props: refactor WpSpaProps into WpProps
- make it a GObject so that it can emit its own signals and so that it can be shared between multiple proxies - share the WpProps instance between endpoints, endpoint-streams and their underlying nodes - introduce the concept of the caching mode that redirects _set to _set_param of the proxy that actually has the props; this allows shared WpProps to actually set changes on the correct proxy in a transparent way - change methods to consume the ref of the pod and reflect that also on wp_proxy_set_prop() - refactor the export process on endpoints & endpoint-streams so that they always get all the required features (info, props, bound) and make it async so that we can take time to prepare the underlying node to have FEATURE_PROPS - update the props & endpoint unit tests, bringing back all the checks that the endpoint unit test used to have
Showing
- lib/wp/endpoint-stream.c 118 additions, 82 deletionslib/wp/endpoint-stream.c
- lib/wp/endpoint.c 113 additions, 113 deletionslib/wp/endpoint.c
- lib/wp/meson.build 2 additions, 1 deletionlib/wp/meson.build
- lib/wp/private.h 8 additions, 28 deletionslib/wp/private.h
- lib/wp/props.c 484 additions, 0 deletionslib/wp/props.c
- lib/wp/props.h 64 additions, 0 deletionslib/wp/props.h
- lib/wp/proxy.c 47 additions, 44 deletionslib/wp/proxy.c
- lib/wp/proxy.h 2 additions, 1 deletionlib/wp/proxy.h
- lib/wp/session.c 47 additions, 45 deletionslib/wp/session.c
- lib/wp/spa-pod.c 13 additions, 0 deletionslib/wp/spa-pod.c
- lib/wp/spa-pod.h 3 additions, 0 deletionslib/wp/spa-pod.h
- lib/wp/spa-props.c 0 additions, 228 deletionslib/wp/spa-props.c
- lib/wp/wp.h 1 addition, 0 deletionslib/wp/wp.h
- tests/wp/endpoint.c 360 additions, 115 deletionstests/wp/endpoint.c
- tests/wp/meson.build 7 additions, 11 deletionstests/wp/meson.build
- tests/wp/props.c 269 additions, 0 deletionstests/wp/props.c
- tests/wp/proxy.c 1 addition, 4 deletionstests/wp/proxy.c
- tools/wireplumber-cli.c 2 additions, 2 deletionstools/wireplumber-cli.c
Loading
Please register or sign in to comment