mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-06 13:30:01 -05:00
link: implement passive links again
Check if a driver is only connected to other nodes with passive links, if that's the case, set the driver and all followers in IDLE.
This commit is contained in:
parent
2a11e66417
commit
16d61e98e8
3 changed files with 16 additions and 4 deletions
|
|
@ -548,6 +548,7 @@ struct pw_impl_node {
|
|||
* is selected to drive the graph */
|
||||
unsigned int visited:1; /**< for sorting */
|
||||
unsigned int want_driver:1; /**< this node wants to be assigned to a driver */
|
||||
unsigned int passive:1; /**< driver graph only has passive links */
|
||||
|
||||
uint32_t port_user_data_size; /**< extra size for port user data */
|
||||
|
||||
|
|
@ -753,6 +754,7 @@ struct pw_impl_link {
|
|||
unsigned int feedback:1;
|
||||
unsigned int preparing:1;
|
||||
unsigned int prepared:1;
|
||||
unsigned int passive:1;
|
||||
};
|
||||
|
||||
#define pw_resource_emit(o,m,v,...) spa_hook_list_call(&o->listener_list, struct pw_resource_events, m, v, ##__VA_ARGS__)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue