From 3d68c7124d59faa46818734fda798d2bc24520d2 Mon Sep 17 00:00:00 2001 From: Wim Taymans Date: Thu, 25 May 2023 20:06:38 +0200 Subject: [PATCH] impl-node: drivers run remotely now Remove some code now that drivers also run remotely. --- src/pipewire/impl-node.c | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/src/pipewire/impl-node.c b/src/pipewire/impl-node.c index 26cdee138..cadf0515c 100644 --- a/src/pipewire/impl-node.c +++ b/src/pipewire/impl-node.c @@ -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); }