endpoint: add methods to register to the SM and use them in simple-endpoint
This changes the registration point to be the endpoint and not the session manager, as it seems easier to implement (the implementation will not need to keep a pointer to the session manager around)
Showing
- lib/wp/endpoint.c 57 additions, 4 deletionslib/wp/endpoint.c
- lib/wp/endpoint.h 4 additions, 0 deletionslib/wp/endpoint.h
- lib/wp/session-manager.c 1 addition, 0 deletionslib/wp/session-manager.c
- lib/wp/session-manager.h 1 addition, 6 deletionslib/wp/session-manager.h
- modules/module-pipewire.c 9 additions, 2 deletionsmodules/module-pipewire.c
- modules/module-pipewire/simple-endpoint.c 1 addition, 3 deletionsmodules/module-pipewire/simple-endpoint.c
Loading
Please register or sign in to comment