mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-05 13:30:02 -05:00
impl-node: drivers run remotely now
Remove some code now that drivers also run remotely.
This commit is contained in:
parent
09f480ccb3
commit
3d68c7124d
1 changed files with 2 additions and 7 deletions
|
|
@ -1819,11 +1819,8 @@ again:
|
|||
}
|
||||
|
||||
a->status = PW_NODE_ACTIVATION_TRIGGERED;
|
||||
/* remote nodes set the signal_time before writing the ready
|
||||
* eventfd */
|
||||
if (!node->remote)
|
||||
a->signal_time = nsec;
|
||||
a->prev_signal_time = a->signal_time;
|
||||
a->signal_time = nsec;
|
||||
|
||||
a->sync_timeout = SPA_MIN(min_timeout, DEFAULT_SYNC_TIMEOUT);
|
||||
|
||||
|
|
@ -1850,9 +1847,7 @@ again:
|
|||
a->status = PW_NODE_ACTIVATION_FINISHED;
|
||||
a->finish_time = nsec;
|
||||
}
|
||||
if (!node->remote && (status & SPA_STATUS_HAVE_DATA)) {
|
||||
/* remote nodes have done the output mix already before
|
||||
* they wrote the ready eventfd */
|
||||
if (status & SPA_STATUS_HAVE_DATA) {
|
||||
spa_list_for_each(p, &node->rt.output_mix, rt.node_link)
|
||||
spa_node_process_fast(p->mix);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue