mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-03 09:01:54 -05:00
client-node: remove custom target signal
The target signal is called when the peer nodes are ready and this node needs to be scheduled. It is the in-process version of the signal. Remove our custom version that, just like the default version, schedules the node implementation but doesn't do any accounting. Makes pw-top report driver stats for bluetooth devices. Fixes #1450
This commit is contained in:
parent
9f6890e10e
commit
dd5b460daa
1 changed files with 0 additions and 11 deletions
|
|
@ -1657,14 +1657,6 @@ static const struct pw_resource_events resource_events = {
|
||||||
.pong = client_node_resource_pong,
|
.pong = client_node_resource_pong,
|
||||||
};
|
};
|
||||||
|
|
||||||
static int process_node(void *data)
|
|
||||||
{
|
|
||||||
struct impl *impl = data;
|
|
||||||
struct node *this = &impl->node;
|
|
||||||
pw_log_trace_fp(NAME " %p: process", this);
|
|
||||||
return spa_node_process(&this->node);
|
|
||||||
}
|
|
||||||
|
|
||||||
/** Create a new client node
|
/** Create a new client node
|
||||||
* \param client an owner \ref pw_client
|
* \param client an owner \ref pw_client
|
||||||
* \param id an id
|
* \param id an id
|
||||||
|
|
@ -1732,9 +1724,6 @@ struct pw_impl_client_node *pw_impl_client_node_new(struct pw_resource *resource
|
||||||
this->node->remote = true;
|
this->node->remote = true;
|
||||||
this->flags = 0;
|
this->flags = 0;
|
||||||
|
|
||||||
this->node->rt.target.signal = process_node;
|
|
||||||
this->node->rt.target.data = impl;
|
|
||||||
|
|
||||||
pw_resource_add_listener(this->resource,
|
pw_resource_add_listener(this->resource,
|
||||||
&impl->resource_listener,
|
&impl->resource_listener,
|
||||||
&resource_events,
|
&resource_events,
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue