mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2026-02-15 22:05:28 -05:00
impl-node: remove duplicated fields
Move all of the info to trigger a node into the target so that we can copy it around easily.
This commit is contained in:
parent
3b5fd0bd7a
commit
b74f2e19a7
6 changed files with 43 additions and 49 deletions
|
|
@ -168,7 +168,7 @@ static void context_do_profile(void *data, struct pw_impl_node *node)
|
|||
struct impl *impl = data;
|
||||
struct spa_pod_builder b;
|
||||
struct spa_pod_frame f[2];
|
||||
struct pw_node_activation *a = node->rt.activation;
|
||||
struct pw_node_activation *a = node->rt.target.activation;
|
||||
struct spa_io_position *pos = &a->position;
|
||||
struct pw_node_target *t;
|
||||
int32_t filled;
|
||||
|
|
@ -230,7 +230,7 @@ static void context_do_profile(void *data, struct pw_impl_node *node)
|
|||
else if (n->rate.denom != 0)
|
||||
latency.denom = n->rate.denom;
|
||||
|
||||
na = n->rt.activation;
|
||||
na = n->rt.target.activation;
|
||||
spa_pod_builder_prop(&b, SPA_PROFILER_followerBlock, 0);
|
||||
spa_pod_builder_add_struct(&b,
|
||||
SPA_POD_Int(n->info.id),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue