spa-type: refactor
* Use a more complete API to introspect SPA types * Avoid the need for the Tables enumeration; the tables are now registered with a string * Avoid the need for initialization, work directly on spa_types and other static data * Allow working with Object pods that are not Params; the PARAMS table was previously hardcoded in the pod implementation * Add a different dynamic type registration system, closer to how spa type works. The only regression is that we can no longer register additional custom object fields (custom SPA_PROP_* for example), but this feature can be re-added later
Showing
- lib/wp/endpoint-stream.c 4 additions, 3 deletionslib/wp/endpoint-stream.c
- lib/wp/endpoint.c 4 additions, 3 deletionslib/wp/endpoint.c
- lib/wp/private/pipewire-object-mixin.c 23 additions, 18 deletionslib/wp/private/pipewire-object-mixin.c
- lib/wp/spa-pod.c 153 additions, 200 deletionslib/wp/spa-pod.c
- lib/wp/spa-pod.h 14 additions, 17 deletionslib/wp/spa-pod.h
- lib/wp/spa-type.c 612 additions, 242 deletionslib/wp/spa-type.c
- lib/wp/spa-type.h 97 additions, 39 deletionslib/wp/spa-type.h
- lib/wp/wp.c 1 addition, 1 deletionlib/wp/wp.c
- modules/module-dbus-reservation/reserve-device.c 1 addition, 1 deletionmodules/module-dbus-reservation/reserve-device.c
- modules/module-default-profile.c 2 additions, 4 deletionsmodules/module-default-profile.c
- modules/module-device-activation.c 2 additions, 3 deletionsmodules/module-device-activation.c
- modules/module-endpoint-creation/limited-creation-bluez5.c 1 addition, 2 deletionsmodules/module-endpoint-creation/limited-creation-bluez5.c
- modules/module-si-adapter.c 9 additions, 4 deletionsmodules/module-si-adapter.c
- modules/module-si-adapter/algorithms.c 15 additions, 13 deletionsmodules/module-si-adapter/algorithms.c
- modules/module-si-bluez5-endpoint.c 1 addition, 1 deletionmodules/module-si-bluez5-endpoint.c
- modules/module-si-convert.c 11 additions, 5 deletionsmodules/module-si-convert.c
- modules/module-si-simple-node-endpoint.c 6 additions, 2 deletionsmodules/module-si-simple-node-endpoint.c
- tests/modules/algorithms.c 4 additions, 8 deletionstests/modules/algorithms.c
- tests/wp/endpoint.c 13 additions, 13 deletionstests/wp/endpoint.c
- tests/wp/proxy.c 2 additions, 1 deletiontests/wp/proxy.c
Loading
Please register or sign in to comment