Simplify endpoints and refactor session item
This MR refactors wireplumber, simplifying a lot the code:
- Removes the
WpEndpointStreamAPI. the WpEndpointLink object links WpEndpoint's instead of WpEndpointStream's now.
WpSessionItemto inherit from WpObject. The activate and export APIs are gone, you need to use
- Adds a
wp_session_item_removeto register and unregister session items in the registry. Object managers can now listen for session items.
si-audio-adapterbecause it is only meant to be used with audio, not video
si-audio-convertbecause it is only meant to be used with audio, not video
- Renames adapter's
WpImplEndpointLinkpublic so that they can be used in session item modules.