mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-06 13:30:01 -05:00
node: keep better track of driver node
When a session disappears, try to move nodes to another session.
This commit is contained in:
parent
1bff5afe05
commit
ef9fcd1093
7 changed files with 144 additions and 72 deletions
|
|
@ -265,6 +265,8 @@ struct pw_node {
|
|||
* is selected to drive the graph */
|
||||
|
||||
struct pw_node *driver_node;
|
||||
struct spa_list driver_list;
|
||||
struct spa_list driver_link;
|
||||
|
||||
struct spa_clock *clock; /**< handle to SPA clock if any */
|
||||
struct spa_node *node; /**< SPA node implementation */
|
||||
|
|
@ -615,6 +617,8 @@ int pw_node_update_ports(struct pw_node *node);
|
|||
|
||||
int pw_node_initialized(struct pw_node *node);
|
||||
|
||||
int pw_node_set_driver(struct pw_node *node, struct pw_node *driver);
|
||||
|
||||
/** Activate a link \memberof pw_link
|
||||
* Starts the negotiation of formats and buffers on \a link and then
|
||||
* starts data streaming */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue