mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2026-04-19 06:46:26 -04:00
session-manager: implement 'endpoint' factory
This is modeled after the 'metadata' factory and provides a way to use the pw_endpoint interface directly to implement an endpoint object in a client.
This commit is contained in:
parent
0a8ec0380b
commit
df66edd9ab
3 changed files with 379 additions and 0 deletions
|
|
@ -31,6 +31,9 @@
|
|||
int client_endpoint_factory_init(struct pw_impl_module *module);
|
||||
/* client-session.c */
|
||||
int client_session_factory_init(struct pw_impl_module *module);
|
||||
|
||||
int endpoint_factory_init(struct pw_impl_module *module);
|
||||
|
||||
/* protocol-native.c */
|
||||
int pw_protocol_native_ext_session_manager_init(struct pw_context *context);
|
||||
|
||||
|
|
@ -51,6 +54,7 @@ int pipewire__module_init(struct pw_impl_module *module, const char *args)
|
|||
|
||||
client_endpoint_factory_init(module);
|
||||
client_session_factory_init(module);
|
||||
endpoint_factory_init(module);
|
||||
|
||||
pw_impl_module_update_properties(module, &SPA_DICT_INIT_ARRAY(module_props));
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue