mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-12 13:30:15 -05:00
node: remove info from node interface
Replace with info event emited when callbacks are set. This makes it easier to implement dynamic changes.
This commit is contained in:
parent
57e94f7bc4
commit
7bc9c1ebfe
23 changed files with 69 additions and 89 deletions
|
|
@ -863,7 +863,6 @@ static int impl_node_process(struct spa_node *node)
|
|||
|
||||
static const struct spa_node impl_node = {
|
||||
SPA_VERSION_NODE,
|
||||
NULL,
|
||||
impl_node_enum_params,
|
||||
impl_node_set_param,
|
||||
impl_node_set_io,
|
||||
|
|
|
|||
|
|
@ -897,7 +897,6 @@ static int impl_node_process(struct spa_node *node)
|
|||
|
||||
static const struct spa_node impl_node = {
|
||||
SPA_VERSION_NODE,
|
||||
NULL,
|
||||
impl_node_enum_params,
|
||||
impl_node_set_param,
|
||||
impl_node_set_io,
|
||||
|
|
|
|||
|
|
@ -894,9 +894,6 @@ void pw_node_set_implementation(struct pw_node *node,
|
|||
pw_log_debug("node %p: set clock %p", node, &impl->position.clock);
|
||||
node->rt.clock = &impl->position.clock;
|
||||
}
|
||||
|
||||
if (spa_node->info)
|
||||
pw_node_update_properties(node, spa_node->info);
|
||||
}
|
||||
|
||||
struct spa_node *pw_node_get_implementation(struct pw_node *node)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue