mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-03 09:01:54 -05:00
daemon: use node factories for creating nodes
This commit is contained in:
parent
90dbf50042
commit
c70e24c51c
2 changed files with 71 additions and 4 deletions
|
|
@ -39,6 +39,7 @@ typedef struct _PinosDaemonPrivate PinosDaemonPrivate;
|
|||
|
||||
#include <pinos/server/server-node.h>
|
||||
#include <pinos/server/server-port.h>
|
||||
#include <pinos/server/node-factory.h>
|
||||
#include <pinos/client/properties.h>
|
||||
|
||||
/**
|
||||
|
|
@ -83,6 +84,11 @@ PinosPort * pinos_daemon_find_port (PinosDaemon *daemon,
|
|||
GBytes *format_filter,
|
||||
GError **error);
|
||||
|
||||
void pinos_daemon_add_node_factory (PinosDaemon *daemon,
|
||||
PinosNodeFactory *factory);
|
||||
void pinos_daemon_remove_node_factory (PinosDaemon *daemon,
|
||||
PinosNodeFactory *factory);
|
||||
|
||||
G_END_DECLS
|
||||
|
||||
#endif /* __PINOS_DAEMON_H__ */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue