mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-01 22:58:50 -04:00
Remove port
Remove the port object. We don't use it as a dbus object and we don't need it, we can use the link and node object directy. Move poll code and event handler to the node.
This commit is contained in:
parent
463954a299
commit
7d3e46e7f9
22 changed files with 689 additions and 1848 deletions
|
|
@ -47,6 +47,11 @@ typedef struct _PinosLinkPrivate PinosLinkPrivate;
|
|||
struct _PinosLink {
|
||||
GObject object;
|
||||
|
||||
PinosNode *output_node;
|
||||
guint output_port;
|
||||
PinosNode *input_node;
|
||||
guint input_port;
|
||||
|
||||
PinosLinkPrivate *priv;
|
||||
};
|
||||
|
||||
|
|
@ -62,12 +67,11 @@ struct _PinosLinkClass {
|
|||
/* normal GObject stuff */
|
||||
GType pinos_link_get_type (void);
|
||||
|
||||
PinosLink * pinos_link_new (PinosDaemon *daemon,
|
||||
PinosPort *output,
|
||||
PinosPort *input);
|
||||
|
||||
void pinos_link_remove (PinosLink *link);
|
||||
|
||||
gboolean pinos_link_activate (PinosLink *link);
|
||||
gboolean pinos_link_deactivate (PinosLink *link);
|
||||
|
||||
PinosProperties * pinos_link_get_properties (PinosLink *link);
|
||||
|
||||
const gchar * pinos_link_get_object_path (PinosLink *link);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue