LADI
/
spa
1
Fork 0

impl-node: drivers run remotely now

Remove some code now that drivers also run remotely.
This commit is contained in:
Wim Taymans 2023-05-25 20:06:38 +02:00
parent 09f480ccb3
commit 3d68c7124d
1 changed files with 2 additions and 7 deletions

View File

@ -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);
}